fix wrong settings form being restricted to admin only
This commit is contained in:
parent
ec7c069653
commit
b0dbb2ac9d
|
@ -30,9 +30,9 @@ OC_UTIL::showheader();
|
|||
|
||||
$FIRSTRUN=false;
|
||||
|
||||
OC_CONFIG::addForm('System Settings','/inc/templates/adminform.php');
|
||||
if(OC_USER::ingroup($_SESSION['username'],'admin')){
|
||||
OC_CONFIG::addForm('User Settings','/inc/templates/configform.php');
|
||||
if(OC_USER::ingroup($_SESSION['username'],'admin')){
|
||||
OC_CONFIG::addForm('System Settings','/inc/templates/adminform.php');
|
||||
}
|
||||
|
||||
echo('<div class="center">');
|
||||
|
|
Loading…
Reference in New Issue