X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/blobdiff_plain/f371f1e0c13f7120ae1e6d5de707d58f37f75ba0..0d601dd942a8b709adf5812045afcdc5873706c8:/lib/config.php diff --git a/lib/config.php b/lib/config.php index 25b5620..23ed74c 100644 --- a/lib/config.php +++ b/lib/config.php @@ -16,18 +16,26 @@ * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see . */ + /* * default configuration * if you want to change this, overwrite in a config.local.php file */ + global $cfg; + /* don't forget the ending '/' */ -global $cfg; $cfg['web_root'] = ''; $cfg['var_root'] = ''; + +/* Lang choice between 'auto', 'en' and 'fr'. + 'auto' mode will take the user's browser informations. Will take english if + user's langage is not available. + */ $cfg['lang'] = 'auto'; $cfg['style'] = 'default'; $cfg['rewrite'] = false; -$cfg['password'] = ''; +/* An empty admin password will disable the admin interface. */ +$cfg['admin_password'] = ''; if ((basename (__FILE__) != 'config.local.php') && file_exists (JIRAFEAU_ROOT.'lib/config.local.php'))