diff options
Diffstat (limited to 'inc/config.php')
-rw-r--r-- | inc/config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/config.php b/inc/config.php index 58abb535..c4898cc9 100644 --- a/inc/config.php +++ b/inc/config.php | |||
@@ -58,7 +58,7 @@ $store = new $storage_type(); | |||
58 | # installation | 58 | # installation |
59 | if(!$store->isInstalled()) | 59 | if(!$store->isInstalled()) |
60 | { | 60 | { |
61 | pocheTool::logm('poche still not installed'); | 61 | pocheTools::logm('poche still not installed'); |
62 | echo $twig->render('install.twig', array( | 62 | echo $twig->render('install.twig', array( |
63 | 'token' => Session::getToken(), | 63 | 'token' => Session::getToken(), |
64 | )); | 64 | )); |
@@ -68,7 +68,7 @@ if(!$store->isInstalled()) | |||
68 | # let's rock, install poche baby ! | 68 | # let's rock, install poche baby ! |
69 | $store->install($_POST['login'], encode_string($_POST['password'] . $_POST['login'])); | 69 | $store->install($_POST['login'], encode_string($_POST['password'] . $_POST['login'])); |
70 | Session::logout(); | 70 | Session::logout(); |
71 | pocheTool::redirect(); | 71 | pocheTools::redirect(); |
72 | } | 72 | } |
73 | } | 73 | } |
74 | exit(); | 74 | exit(); |