parent
ce522a76ba
commit
41608e948c
@ -0,0 +1,7 @@ |
|||||||
|
<?php |
||||||
|
// Store your Claroline database access settings here |
||||||
|
//$sourceHost = 'localhost'; |
||||||
|
//$sourcePort = '3306'; |
||||||
|
//$sourceUser = 'claroline'; |
||||||
|
//$sourcePass = 'claroline'; |
||||||
|
//$sourceDB = 'claroline'; |
@ -0,0 +1,18 @@ |
|||||||
|
<?php |
||||||
|
/** |
||||||
|
* This script executes the migration from a Claroline 1.11.10 system to a |
||||||
|
* Chamilo LMS 1.10.0 system. |
||||||
|
* This should be launched on the command line to avoid maximum connection |
||||||
|
* times defined by the browser or the web server. |
||||||
|
* Configuration of the source should be set in the config.php file. |
||||||
|
* Configuration of Chamilo is taken from the current folder (current |
||||||
|
* already-installed Chamilo portal). |
||||||
|
*/ |
||||||
|
require_once __DIR__.'/config.php'; |
||||||
|
if (!isset($sourceHost)) { |
||||||
|
die ('Please define the source and other parameters in config.php'.PHP_EOL); |
||||||
|
} |
||||||
|
|
||||||
|
require_once __DIR__.'/../../../../main/inc/global.inc.php'; |
||||||
|
|
||||||
|
echo "Working" . PHP_EOL; |
Loading…
Reference in new issue