diff --git a/config/autoload/local.php.dist b/config/autoload/local.php.dist index 6927e3c..0ed1558 100644 --- a/config/autoload/local.php.dist +++ b/config/autoload/local.php.dist @@ -32,4 +32,13 @@ return array( ), ), ), + + + 'languages' => [ + 1 => 'Français', + 2 => 'English', + 3 => 'Deutsch' + ], + + 'defaultLanguageIndex' => 1 ); diff --git a/scripts/update-all.sh b/scripts/update-all.sh index cac0791..4298e9b 100755 --- a/scripts/update-all.sh +++ b/scripts/update-all.sh @@ -11,12 +11,16 @@ pull_if_exists() { git pull -php composer.phar update +php composer.phar update -o + pull_if_exists module/MonarcCore pull_if_exists module/MonarcBO pull_if_exists node_modules/ng_backoffice +php ./vendor/robmorgan/phinx/bin/phinx migrate -c ./module/MonarcCore/migrations/phinx.php +php ./vendor/robmorgan/phinx/bin/phinx migrate -c ./module/MonarcBO/migrations/phinx.php + if [ -d node_modules/ng_backoffice ]; then cd node_modules/ng_backoffice npm install