1234567891011121314151617181920212223242526 |
- <?php
- 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';
- require_once __DIR__.'/migrate.class.php';
- echo "Working" . PHP_EOL;
- $migrate = new Migrate();
- echo "Migrating users..." . PHP_EOL;
- $count = $migrate->migrateUsers();
- echo $count . " users migrated." . PHP_EOL;
- echo "Done";
|