Added CDN settings to default Chamilo configuration - useless for now, just preparing the common ground

skala
Yannick Warnier 14 years ago
parent 2d2d16179f
commit fd19c1b5ac
  1. 85
      main/install/configuration.dist.php

@ -2,18 +2,16 @@
// Chamilo version {NEW_VERSION} // Chamilo version {NEW_VERSION}
// File generated by /install/index.php script - {DATE_GENERATED} // File generated by /install/index.php script - {DATE_GENERATED}
/* For licensing terms, see /license.txt */ /* For licensing terms, see /license.txt */
/* /**
============================================================================== * Virtual campus configuration
Virtual campus configuration *
* This file contains a list of variables that can be modified by the campus
This file contains a list of variables that can be modified by the campus * site's server administrator. Pay attention when changing these variables,
site's server administrator. Pay attention when changing these variables, * some changes may cause Chamilo to stop working.
some changes may cause Chamilo to stop working. * If you changed some settings and want to restore them, please have a look at
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
configuration.dist.php. That file is an exact copy of the config file at * install time.
install time. */
==============================================================================
*/
/** /**
* $_configuration define only the bare essential variables * $_configuration define only the bare essential variables
@ -27,9 +25,9 @@ install time.
* script creates the necessary tables anyway). * script creates the necessary tables anyway).
*/ */
//============================================================================ /**
// MYSQL connection settings * MYSQL connection settings
//============================================================================ */
// Your MySQL server // Your MySQL server
$_configuration['db_host'] = '{DATABASE_HOST}'; $_configuration['db_host'] = '{DATABASE_HOST}';
// Your MySQL username // Your MySQL username
@ -37,9 +35,9 @@ $_configuration['db_user'] = '{DATABASE_USER}';
// Your MySQL password // Your MySQL password
$_configuration['db_password'] = '{DATABASE_PASSWORD}'; $_configuration['db_password'] = '{DATABASE_PASSWORD}';
//============================================================================ /**
// Database settings * Database settings
//============================================================================ */
// Is tracking enabled? // Is tracking enabled?
$_configuration['tracking_enabled'] = TRACKING_ENABLED; $_configuration['tracking_enabled'] = TRACKING_ENABLED;
// Is single database enabled (DO NOT MODIFY THIS) // Is single database enabled (DO NOT MODIFY THIS)
@ -58,10 +56,9 @@ $_configuration['statistics_database'] ='{DATABASE_STATS}';
// (personal agenda items, course sorting) // (personal agenda items, course sorting)
$_configuration['user_personal_database']='{DATABASE_PERSONAL}'; $_configuration['user_personal_database']='{DATABASE_PERSONAL}';
//============================================================================ /**
// Directory settings * Directory settings
//============================================================================ */
// URL to the root of your Chamilo installation, e.g.: http://www.mychamilo.com/ // URL to the root of your Chamilo installation, e.g.: http://www.mychamilo.com/
$_configuration['root_web'] = '{ROOT_WEB}'; $_configuration['root_web'] = '{ROOT_WEB}';
@ -81,9 +78,10 @@ $_configuration['course_folder'] = "courses/";
// If not empty, a link will be available in the Platform Administration // If not empty, a link will be available in the Platform Administration
$_configuration['db_admin_path'] = ''; $_configuration['db_admin_path'] = '';
//============================================================================ /**
// Login modules settings *
//============================================================================ * Login modules settings
*/
// For new login module // For new login module
// Uncomment these lines to activate ldap // Uncomment these lines to activate ldap
// $extAuthSource["ldap"]["login"] = $_configuration['root_sys'].$_configuration['code_append']."auth/ldap/login.php"; // $extAuthSource["ldap"]["login"] = $_configuration['root_sys'].$_configuration['code_append']."auth/ldap/login.php";
@ -93,11 +91,12 @@ $_configuration['db_admin_path'] = '';
// $extAuthSource["external_logininfo"]["newUser"] = $_configuration['root_sys'].$_configuration['code_append']."auth/external_logininfo/newUser.php"; // $extAuthSource["external_logininfo"]["newUser"] = $_configuration['root_sys'].$_configuration['code_append']."auth/external_logininfo/newUser.php";
// $extAuthSource["external_logininfo"]["updateUser"] = $_configuration['root_sys'].$_configuration['code_append']."auth/external_logininfo/updateUser.php"; // $extAuthSource["external_logininfo"]["updateUser"] = $_configuration['root_sys'].$_configuration['code_append']."auth/external_logininfo/updateUser.php";
//============================================================================ /**
// 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 * Hosting settings - Allows you to set limits to the Chamilo portal when
// optionally-loaded extension file with only the settings (no comments). * hosting it for a third party. These settings can be overwritten by an
//============================================================================ * optionally-loaded extension file with only the settings (no comments).
*/
// Set a maximum number of users. Default (0) = no limit // Set a maximum number of users. Default (0) = no limit
$_configuration['hosting_limit_users'] = 0; $_configuration['hosting_limit_users'] = 0;
// Set a maximum number of teachers. Default (0) = no limit // Set a maximum number of teachers. Default (0) = no limit
@ -110,9 +109,29 @@ $_configuration['hosting_limit_sessions'] = 0;
// Default (0) = no limit // Default (0) = no limit
$_configuration['hosting_limit_disk_space'] = 0; $_configuration['hosting_limit_disk_space'] = 0;
//============================================================================ /**
// Misc. settings * Content Delivery Network (CDN) settings. Only use if you need a separate
//============================================================================ * server to serve your static data. If you don't know what a CDN is, you
* don't need it. These settings are for simple Origin Pull CDNs and are
* experimental. Enable only if you really know what you're doing.
*/
// Set the following setting to true to start using the CDN
$_configuration['cdn_enable'] = false;
// The following setting will be ignored if the previous one is set to false
$_configuration['cdn'] = array(
// you can define several CDNs and split them by extensions
0 => array(
//replace the following by your full CDN URL, which should point to
// your Chamilo's root directory, including the final slash
'url' => 'http://cdn.chamilo.org/',
'ext' => array('.css','.js','.jpg','.jpeg','.png','.gif','.avi','.flv'),
),
// copy the section above and modify following your needs
);
/**
* Misc. settings
*/
// Verbose backup // Verbose backup
$_configuration['verbose_backup'] = false; $_configuration['verbose_backup'] = false;
// security word for password recovery // security word for password recovery

Loading…
Cancel
Save