X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/1f29ee2fe4477d9f01a40cc519dded5621d5d452..4d41ec577bd1d9e0f48f09a2a4a6d6cab2db4bc5:/admin.php diff --git a/admin.php b/admin.php index bfbd123..d602dcd 100644 --- a/admin.php +++ b/admin.php @@ -19,7 +19,6 @@ define ('JIRAFEAU_ROOT', dirname (__FILE__) . '/'); -require (JIRAFEAU_ROOT . 'lib/config.original.php'); require (JIRAFEAU_ROOT . 'lib/settings.php'); require (JIRAFEAU_ROOT . 'lib/functions.php'); require (JIRAFEAU_ROOT . 'lib/lang.php'); @@ -71,7 +70,7 @@ else if (isset ($_POST['admin_password']) && empty($cfg['admin_http_auth_user'])) { if ($cfg['admin_password'] === $_POST['admin_password'] || - $cfg['admin_password'] === hash('sha256', $_POST['admin_password'])) + $cfg['admin_password'] === hash('sha256', $_POST['admin_password'])) $_SESSION['admin_auth'] = true; else {