瀏覽代碼

fix clancats db tests

Keith Newman 9 年之前
父節點
當前提交
68f21fdddc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frameworks/PHP/clancats/setup.sh

+ 1 - 1
frameworks/PHP/clancats/setup.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 
-sed -i 's|localhost|'"${DBHOST}"'|g' index.php
+sed -i 's|localhost|'"${DBHOST}"'|g' app/config/database.config.php
 sed -i 's|root /home/ubuntu/FrameworkBenchmarks|root '"${TROOT}"'|g' deploy/nginx.conf
 sed -i 's|/usr/local/nginx/|'"${IROOT}"'/nginx/|g' deploy/nginx.conf