Browse Source

Fixed unmet dependency from internationalization lib provoking undefined get_lang() error during install process

Yannick Warnier 11 years ago
parent
commit
a247257855
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/ChamiloLMS/Command/Database/InstallCommand.php

+ 3 - 0
src/ChamiloLMS/Command/Database/InstallCommand.php

@@ -12,6 +12,9 @@ use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console;
 use Symfony\Component\Yaml\Dumper;
 
+// Include language management lib
+require_once __DIR__.'/../../../../main/inc/lib/internationalization.lib.php';
+
 /**
  * Class InstallCommand
  */