aboutsummaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorArno Richter <mail@arnorichter.de>2022-01-26 22:54:31 +0100
committerArno Richter <mail@arnorichter.de>2022-01-26 22:54:31 +0100
commit92c6aa46e73615d433bbef223f35921e5bf12e19 (patch)
treeecbc2d7ec79f67c539e6d3f78cf8019ae8b0425a /index.php
parent8ed87afb6aa52e6398ade891ca07fdcc4b15525c (diff)
downloadmicroblog-92c6aa46e73615d433bbef223f35921e5bf12e19.tar.gz
microblog-92c6aa46e73615d433bbef223f35921e5bf12e19.tar.bz2
microblog-92c6aa46e73615d433bbef223f35921e5bf12e19.zip
Fix #3 by cleaning up a few localhost issues
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 747b803..2b766a2 100644
--- a/index.php
+++ b/index.php
@@ -7,7 +7,7 @@
require_once(ROOT.DS.'single.inc.php');
} elseif(mb_strtolower(path(0)) === 'login') {
// show login form
- require_once(ROOT.DS.'login.inc.php');
+ require_once(ROOT.DS.'loginform.inc.php');
} elseif(mb_strtolower(path(0)) === 'new') {
if(isset($_COOKIE['microblog_login']) && $_COOKIE['microblog_login'] === sha1($config['url'].$config['admin_pass'])) {
// show the post form