small fixes

This commit is contained in:
xisi 2014-01-28 07:02:49 -05:00
parent 6398e5dfec
commit f56c18276a
2 changed files with 4 additions and 4 deletions

View File

@ -71,8 +71,8 @@ require_once(INCLUDE_DIR . '/lib/scrypt.php');
// Include our versions // Include our versions
require_once(INCLUDE_DIR . '/version.inc.php'); require_once(INCLUDE_DIR . '/version.inc.php');
if ($user->isAdmin(@$_SESSION['USERDATA']['id'])) { if (@$_SESSION['USERDATA']['is_admin'] && $user->isAdmin(@$_SESSION['USERDATA']['id'])) {
//include_once(INCLUDE_DIR . '/admin_checks.inc.php'); include_once(INCLUDE_DIR . '/admin_checks.inc.php');
} }
?> ?>

View File

@ -8,8 +8,8 @@
* Check -> Memcache configuration * Check -> Memcache configuration
* Check -> Memcache anti resource-dos * Check -> Memcache anti resource-dos
* *
* Options Default Explanation * Options Default Explanation
* ------- + ------- + ----------- * ------- + ------- + -----------
* strict : true : Whether or not to use strict mode * strict : true : Whether or not to use strict mode
* __https_only : false : Requires/pushes to https * __https_only : false : Requires/pushes to https
* __mysql_filter : true : Uses a mysqli shim to use php filters on all incoming data * __mysql_filter : true : Uses a mysqli shim to use php filters on all incoming data