X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/6bb6cfda2f5cbc5c7c9cc25cd228970ce2b582cd..8d0d50765bc4cd7b98fc28dbccbf4284d034d466:/admin.php diff --git a/admin.php b/admin.php index 87dbcea..5ae2d6e 100755 --- a/admin.php +++ b/admin.php @@ -19,7 +19,7 @@ define ('JIRAFEAU_ROOT', dirname (__FILE__) . '/'); -require (JIRAFEAU_ROOT . 'lib/config.php'); +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'); @@ -107,6 +107,13 @@ elseif (!isset ($_SESSION['admin_auth']) || $_SESSION['admin_auth'] != true) exit; } +/* Operations may take a long time. + * Be sure PHP's safe mode is off. + */ +@set_time_limit(0); +/* Remove errors. */ +@error_reporting(0); + /* Admin interface. */ require (JIRAFEAU_ROOT . 'lib/template/header.php'); ?>
+ + + + +