You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
3.3 KiB
63 lines
3.3 KiB
<?php
|
|
// Chamilo version {NEW_VERSION}
|
|
// File generated by /install/index.php script - {DATE_GENERATED}
|
|
/* For licensing terms, see /license.txt */
|
|
/**
|
|
* This file contains a list of variables that can be modified by the campus site's server administrator.
|
|
* Pay attention when changing these variables, some changes may cause Chamilo to stop working.
|
|
* If you changed some settings and want to restore them, please have a look at
|
|
* configuration.dist.php. That file is an exact copy of the config file at install time.
|
|
* Besides the $_configuration, a $_settings array also exists, that
|
|
* contains variables that can be changed and will not break the platform.
|
|
* These optional settings are defined in the database, now
|
|
* (table settings_current).
|
|
*/
|
|
|
|
// Enable access to database management for platform admins.
|
|
$_configuration['db_manager_enabled'] = false;
|
|
|
|
/**
|
|
* Hosting settings - Allows you to set limits to the Chamilo portal when
|
|
* hosting it for a third party. These settings can be overwritten by an
|
|
* optionally-loaded extension file with only the settings (no comments).
|
|
* The settings use an index at the first level to represent the ID of the
|
|
* URL in case you use multi-url (otherwise it will always use 1, which is
|
|
* the ID of the only URL inside the access_url table).
|
|
*/
|
|
// Set a maximum number of users. Default (0) = no limit
|
|
$_configuration[1]['hosting_limit_users'] = 0;
|
|
// Set a maximum number of teachers. Default (0) = no limit
|
|
$_configuration[1]['hosting_limit_teachers'] = 0;
|
|
// Set a maximum number of courses. Default (0) = no limit
|
|
$_configuration[1]['hosting_limit_courses'] = 0;
|
|
// Set a maximum number of sessions. Default (0) = no limit
|
|
$_configuration[1]['hosting_limit_sessions'] = 0;
|
|
// Set a maximum disk space used, in MB (set to 1024 for 1GB, 5120 for 5GB, etc)
|
|
// Default (0) = no limit
|
|
$_configuration[1]['hosting_limit_disk_space'] = 0;
|
|
// Set a maximum number of usable courses. Default (0) = no limit.
|
|
// Should always be lower than the hosting_limit_courses.
|
|
// If set, defining a course as "hidden" will free room for
|
|
// new courses (up to the hosting_limit_courses, if any value is set there).
|
|
// hosting_limit_enabled_courses is the maximum number of courses that are *not* hidden.
|
|
$_configuration[1]['hosting_limit_active_courses'] = 0;
|
|
// Email to warn if limit was reached.
|
|
//$_configuration[1]['hosting_contact_mail'] = 'example@example.org';
|
|
// Portal size limit in MB (set to 1024 for 1GB, 5120 for 5GB, etc).
|
|
// Check main/cron/hosting_total_size_limit.php for how to use this limit.
|
|
$_configuration['hosting_total_size_limit'] = 0;
|
|
|
|
// Security word for password recovery
|
|
$_configuration['security_key'] = '{SECURITY_KEY}';
|
|
$_configuration['software_name'] = 'Chamilo';
|
|
$_configuration['software_url'] = 'https://chamilo.org/';
|
|
// Deny the elimination of users
|
|
$_configuration['deny_delete_users'] = false;
|
|
|
|
// KEEP THIS AT THE END
|
|
// -------- Custom DB changes
|
|
// Add user activation by confirmation email
|
|
// This option prevents the new user to login in the platform if your account is not confirmed via email
|
|
// You need add a new option called "confirmation" to the registration settings
|
|
//INSERT INTO settings_options (variable, value, display_text) VALUES ('allow_registration', 'confirmation', 'MailConfirmation');
|
|
// ------ (End) Custom DB changes
|
|
|