]> jfr.im git - z_archive/KronOS.git/commitdiff
Added some index.html, removed redirect from login()
authorConny Sjöblom <redacted>
Tue, 16 Oct 2012 09:00:22 +0000 (12:00 +0300)
committerConny Sjöblom <redacted>
Tue, 16 Oct 2012 09:00:22 +0000 (12:00 +0300)
application/controllers/account.php
application/controllers/main.php
public/css/index.html [new file with mode: 0644]
public/img/index.html [new file with mode: 0644]
public/index.html [new file with mode: 0644]
public/js/index.html [new file with mode: 0644]
public/less/index.html [new file with mode: 0644]

index baf7f63613839bd46bcfdea052f650354132c5b4..2d36e1323a99c6c16716c17c4701b939433f960a 100644 (file)
@@ -12,8 +12,6 @@ class Account extends CI_Controller {
        }\r
 \r
        public function login() {\r
-               if ($this->user->is_logged_in())\r
-                       redirect('account/');\r
 \r
                # Login stuff\r
                $user = $this->input->post('username');\r
index 63f907a9d56631dc2876222bd94fe4a4ee7f11a5..d3feb97c683e1638750871226e74d00e04ceb9f4 100644 (file)
@@ -7,8 +7,7 @@ class Main extends CI_Controller {
                parent::__construct();
        }
 
-       public function index()
-       {
+       public function index(){
                $this->load->view('main_view');
        }
 }
diff --git a/public/css/index.html b/public/css/index.html
new file mode 100644 (file)
index 0000000..c942a79
--- /dev/null
@@ -0,0 +1,10 @@
+<html>
+<head>
+       <title>403 Forbidden</title>
+</head>
+<body>
+
+<p>Directory access is forbidden.</p>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/public/img/index.html b/public/img/index.html
new file mode 100644 (file)
index 0000000..c942a79
--- /dev/null
@@ -0,0 +1,10 @@
+<html>
+<head>
+       <title>403 Forbidden</title>
+</head>
+<body>
+
+<p>Directory access is forbidden.</p>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
new file mode 100644 (file)
index 0000000..c942a79
--- /dev/null
@@ -0,0 +1,10 @@
+<html>
+<head>
+       <title>403 Forbidden</title>
+</head>
+<body>
+
+<p>Directory access is forbidden.</p>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/public/js/index.html b/public/js/index.html
new file mode 100644 (file)
index 0000000..c942a79
--- /dev/null
@@ -0,0 +1,10 @@
+<html>
+<head>
+       <title>403 Forbidden</title>
+</head>
+<body>
+
+<p>Directory access is forbidden.</p>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/public/less/index.html b/public/less/index.html
new file mode 100644 (file)
index 0000000..c942a79
--- /dev/null
@@ -0,0 +1,10 @@
+<html>
+<head>
+       <title>403 Forbidden</title>
+</head>
+<body>
+
+<p>Directory access is forbidden.</p>
+
+</body>
+</html>
\ No newline at end of file