Jelajahi Sumber

fix cakephp for json and fortunes

Lita Gratrix 10 tahun lalu
induk
melakukan
3e1754c727
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      frameworks/PHP/cakephp/setup.sh

+ 1 - 0
frameworks/PHP/cakephp/setup.sh

@@ -5,6 +5,7 @@ sed -i 's|REDISSERVER|'"${DBHOST}"'|g' app/Config/core.php
 sed -i 's|".*/FrameworkBenchmarks/cakephp|"'"${TROOT}"'|g' deploy/cake
 sed -i 's|Directory .*/FrameworkBenchmarks/cakephp|Directory '"${TROOT}"'|g' deploy/cake
 sed -i 's|root .*/FrameworkBenchmarks/cakephp|root '"${TROOT}"'|g' deploy/nginx.conf
+sed -i 's|/usr/local/nginx|'"${NGINX_HOME}"'|g' deploy/nginx.conf
 
 $PHP_FPM --fpm-config $FWROOT/config/php-fpm.conf -g $TROOT/deploy/php-fpm.pid