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.
21 lines
637 B
21 lines
637 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
/**
|
|
* Install the Chamilo files
|
|
* Notice : This script has to be included by install/index.php.
|
|
*
|
|
* The script creates two files:
|
|
* - configuration.php, the file that contains very important info for Chamilo
|
|
* such as the database names.
|
|
* - .htaccess file (in the courses directory) that is optional but improves
|
|
* security
|
|
*
|
|
* @package chamilo.install
|
|
*/
|
|
if (defined('SYSTEM_INSTALLATION')) {
|
|
// Write the system config file
|
|
write_system_config_file(api_get_path(SYS_PATH).'config/configuration.php');
|
|
} else {
|
|
echo 'You are not allowed here !'.__FILE__;
|
|
}
|
|
|