Go to your portal Chamilo > Administration > CAS to activate CAS // You can leave these lines uncommented even if you don't use CAS authentification //$extAuthSource["cas"]["login"] = $_configuration['root_sys'].$_configuration['code_append']."auth/cas/login.php"; //$extAuthSource["cas"]["newUser"] = $_configuration['root_sys'].$_configuration['code_append']."auth/cas/newUser.php"; // // NEW LDAP IMPLEMENTATION BASED ON external_login info // -> Uncomment the two lines bellow to activate LDAP AND edit main/auth/external_login/ldap.conf.php for configuration // $extAuthSource["extldap"]["login"] = $_configuration['root_sys'].$_configuration['code_append']."auth/external_login/login.ldap.php"; // $extAuthSource["extldap"]["newUser"] = $_configuration['root_sys'].$_configuration['code_append']."auth/external_login/newUser.ldap.php"; // // FACEBOOK IMPLEMENTATION BASED ON external_login info // -> Uncomment the line bellow to activate Facebook Auth AND edit main/auth/external_login/ldap.conf.php for configuration // $_configuration['facebook_auth'] = 1; // // OTHER EXTERNAL LOGIN INFORMATION // To fetch external login information, uncomment those 2 lines and modify files auth/external_login/newUser.php and auth/external_login/updateUser.php files // $extAuthSource["external_login"]["newUser"] = $_configuration['root_sys'].$_configuration['code_append']."auth/external_login/newUser.php"; // $extAuthSource["external_login"]["updateUser"] = $_configuration['root_sys'].$_configuration['code_append']."auth/external_login/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 * 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). // Default (0) = no limit $_configuration[1]['hosting_limit_disk_space'] = 0; /** * 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. * This might conflict with multiple-access urls. */ // 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 //Replace the following by your full CDN URL, which should point to // your Chamilo's root directory. DO NOT INCLUDE a final slash! (won't work) 'http://cdn.chamilo.org' => array('.css','.js','.jpg','.jpeg','.png','.gif','.avi','.flv'), // copy the line above and modify following your needs ); /** * Session settings */ // Session lifetime $_configuration['session_lifetime'] = SESSION_LIFETIME; /** Security */ // Security word for password recovery. $_configuration['security_key'] = '{SECURITY_KEY}'; // Hash function method. $_configuration['password_encryption'] = '{ENCRYPT_PASSWORD}'; //Deny the elimination of users. $_configuration['deny_delete_users'] = false; //Prevent all admins from using the "login_as" feature. $_configuration['login_as_forbidden_globally'] = false; /** Multiple URL */ // Activation for multi-url access. //$_configuration['multiple_access_urls'] = true; /** Chamilo version settings */ $_configuration['system_version'] = '{NEW_VERSION}'; $_configuration['system_stable'] = NEW_VERSION_STABLE; $_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; $_configuration['platform_charset'] = 'utf-8'; // Show a useful toolbar with memory used, loaded time, request, session, logs information. $_configuration['show_profiler'] = false; $_configuration['name_order_conventions'] = array();