X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/3e84a5debe0984bea841016ba587b109031a7816..a4111660b05af9df96bbe567aa43acff34b6339d:/admin.php diff --git a/admin.php b/admin.php index d05ce35..68e0f3b 100644 --- a/admin.php +++ b/admin.php @@ -57,7 +57,7 @@ if (php_sapi_name() == "cli") { /* Logout if requested. */ if (jirafeau_admin_session_logged() && isset($_POST['action']) && (strcmp($_POST['action'], 'logout') == 0)) { - jirafeau_admin_session_end(); + jirafeau_session_end(); } if (!jirafeau_admin_session_logged()) { @@ -117,9 +117,9 @@ if (php_sapi_name() == "cli") { /* Show admin interface if not downloading a file. */ if (!(isset($_POST['action']) && strcmp($_POST['action'], 'download') == 0)) { require(JIRAFEAU_ROOT . 'lib/template/header.php'); ?>