small fixes
This commit is contained in:
parent
6398e5dfec
commit
f56c18276a
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user