|
|
|
@ -25,15 +25,15 @@ |
|
|
|
|
/** |
|
|
|
|
* Database settings |
|
|
|
|
*/ |
|
|
|
|
// Host |
|
|
|
|
// Host. |
|
|
|
|
$_configuration['db_host'] = '{DATABASE_HOST}'; |
|
|
|
|
// Username |
|
|
|
|
// Username. |
|
|
|
|
$_configuration['db_user'] = '{DATABASE_USER}'; |
|
|
|
|
// Password |
|
|
|
|
// Password. |
|
|
|
|
$_configuration['db_password'] = '{DATABASE_PASSWORD}'; |
|
|
|
|
// Driver |
|
|
|
|
// Driver. |
|
|
|
|
$_configuration['db_driver'] = '{DATABASE_DRIVER}'; |
|
|
|
|
// Database name |
|
|
|
|
// Database name. |
|
|
|
|
$_configuration['main_database'] = '{DATABASE_MAIN}'; |
|
|
|
|
|
|
|
|
|
/** Directory settings */ |
|
|
|
@ -124,23 +124,23 @@ $_configuration['cdn'] = array( |
|
|
|
|
/** |
|
|
|
|
* Session settings |
|
|
|
|
*/ |
|
|
|
|
// You may have to restart your web server if you change this |
|
|
|
|
// You may have to restart your web server if you change this. |
|
|
|
|
$_configuration['session_stored_in_db'] = false; |
|
|
|
|
// Session lifetime |
|
|
|
|
$_configuration['session_lifetime'] = SESSION_LIFETIME; |
|
|
|
|
|
|
|
|
|
/** Security */ |
|
|
|
|
// Security word for password recovery |
|
|
|
|
// Security word for password recovery. |
|
|
|
|
$_configuration['security_key'] = '{SECURITY_KEY}'; |
|
|
|
|
// Hash function method |
|
|
|
|
// Hash function method. |
|
|
|
|
$_configuration['password_encryption'] = '{ENCRYPT_PASSWORD}'; |
|
|
|
|
//Deny the elimination of users |
|
|
|
|
//Deny the elimination of users. |
|
|
|
|
$_configuration['deny_delete_users'] = false; |
|
|
|
|
//Prevent all admins from using the "login_as" feature |
|
|
|
|
//Prevent all admins from using the "login_as" feature. |
|
|
|
|
$_configuration['login_as_forbidden_globally'] = false; |
|
|
|
|
|
|
|
|
|
/** Multiple URL */ |
|
|
|
|
// Activation for multi-url access |
|
|
|
|
// Activation for multi-url access. |
|
|
|
|
//$_configuration['multiple_access_urls'] = true; |
|
|
|
|
|
|
|
|
|
/** Chamilo version settings */ |
|
|
|
@ -150,5 +150,8 @@ $_configuration['software_name'] = 'Chamilo'; |
|
|
|
|
$_configuration['software_url'] = 'http://www.chamilo.org/'; |
|
|
|
|
|
|
|
|
|
/** Chamilo dev settings */ |
|
|
|
|
// Generate twig templates in every request, prompts SQL errors. |
|
|
|
|
$_configuration['debug'] = false; |
|
|
|
|
|
|
|
|
|
// Show a useful toolbar with memory used, loaded time, request, session, logs information. |
|
|
|
|
$_configuration['show_profiler'] = false; |
|
|
|
|