Commit
Dev: this add [supermadmin][create] by DB Dev: add a confug var (array) 'forcedsuperadmin'
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -593,16 +593,13 @@ | |
$config['proxy_host_name'] = ''; | ||
$config['proxy_host_port'] = 80; | ||
|
||
/** Forced superadmin rights, users in this array can not have superadmin total right disable. | ||
* Default use the user created at the installation. | ||
* @var integer[] | ||
*/ | ||
$config['forcedsuperadmin'] = [1]; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Shnoulle
Author
Collaborator
|
||
|
||
// === Advanced Setup | ||
// The following parameters need information from config.php | ||
// and thus are defined here (After reading your config.php file). | ||
// This means that if you want to tweak these very advanced parameters | ||
// you'll have to do this in this file and not in config.php | ||
// In this case, don't forget to backup your config-defaults.php settings when upgrading LS | ||
// and report them to the new config-defaults.php file (Do not simply overwrite the new | ||
// config-defaults file with your old one | ||
|
||
//The following url and dir locations do not need to be modified unless you have a non-standard | ||
//LimeSurvey installation. Do not change unless you know what you are doing. | ||
|
||
|
5 comments
on commit 01a1b9d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch break saving global permissions completely. We will have to do another release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, i look at it and make a patch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error in POST value … think sending 1, but send on
i fix it in some minute …
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Patch done in 6b94cd9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Short-hand array notation is NOT supported by all PHP versions! Please change to
array(1)
!