Moved allowedit to accred_config config file
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
$_SESSION['state'] = $token;
|
||||
$userid = $_SESSION['uid'];
|
||||
$isAdmin = $_SESSION['admin']==1;
|
||||
$isEditable = $_SESSION['allowedit']==1;
|
||||
$isEditable = $cfg['editmode']==1;
|
||||
// Bail out if not logged in
|
||||
if($userid=='') {
|
||||
header("location: index?");
|
||||
|
||||
Reference in New Issue
Block a user