Browse Source

update Yii2 to work with updated composer install

Lita Gratrix 10 years ago
parent
commit
b64896cba3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      frameworks/PHP/Yii2/install.sh

+ 2 - 2
frameworks/PHP/Yii2/install.sh

@@ -1,9 +1,9 @@
 #!/bin/bash
+export PHP_HOME=${IROOT}/php-5.5.17
+export COMPOSER_HOME=${IROOT}/php-composer
 
 fw_depends php nginx composer
 
-export COMPOSER_HOME=${IROOT}/php-composer
-PHP_HOME=${IROOT}/php-5.5.17
 ${PHP_HOME}/bin/php $COMPOSER_HOME/composer.phar install \
   --no-interaction --working-dir $TROOT \
   --no-progress --optimize-autoloader