Add error_log

remotes/angel/1.11.x
jmontoyaa 8 years ago
parent 714b4b06f4
commit d4072515c9
  1. 7
      main/install/install.lib.php

@ -2065,9 +2065,14 @@ function migrate($chamiloVersion, EntityManager $manager)
foreach ($migratedSQL as $version => $sqlList) {
echo "VERSION: $version<br>";
echo "----------------------------------------------<br>";
$total = count($sqlList);
error_log("VERSION: $version");
error_log("# queries: ".$total);
$counter = 1;
foreach ($sqlList as $sql) {
echo "<code>$sql</code><br>";
error_log("$counter/$total : $sql");
$counter++;
}
}

Loading…
Cancel
Save