Skip to content
Snippets Groups Projects
Commit b3685e6a authored by efalcy's avatar efalcy
Browse files

dev #18867 : add comment on script import_typo3

parent c0d5fbe2
Branches
Tags
4 merge requests!715Master,!697Dev #18867 typo3 dossiers documentaires,!672Dev #18867 typo3 dossiers documentaires,!644Dev #18867 typo3 dossiers documentaires
......@@ -2,8 +2,8 @@
/*
* Launch import_typo3.php like:
* php import_typo3.php <arg>
* <arg> can be users (import users only), articles (import articles only) or all (import all)
*
* <arg> can be users (import users only), articles (import articles only), all (import all)
* or update (don't destroy database)
* Script import data in a database named miop_typo3. To change it, edit the line 109.
*/
......@@ -12,10 +12,9 @@ require('console.php');
$toRun = $argv[1];
Class_Import_Typo3_Logs::getInstance()->activateOutput();
Class_CustomField_Model::registerAll([
new Class_CustomField_ModelConfiguration_Article()
]);
Class_CustomField_Model::registerAll([
new Class_CustomField_ModelConfiguration_Article()
]);
$migration = new Class_Import_Typo3();
$migration->run($toRun);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment