Merge branch '1.10.x' of ssh://github.com/chamilo/chamilo-lms into 1.10.x

1.10.x
Julio Montoya 10 years ago
commit ca2790d4cd
  1. 7
      tests/migrations/claroline/1.11.10/config.dist.php
  2. 18
      tests/migrations/claroline/1.11.10/migrate.php

@ -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…
Cancel
Save