瀏覽代碼

Fix env

tags/4.0.15.1
Steevan BARBOYON 8 年之前
父節點
當前提交
24d4d6ff07
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      init_benchmark.sh
  2. 1
    1
      public/index.php

+ 1
- 1
init_benchmark.sh 查看文件

@@ -15,7 +15,7 @@ function clearCacheAndLogs() {
15 15
 }
16 16
 
17 17
 function init() {
18
-    export APP_ENV=$2
18
+    export APP_ENV='prod'
19 19
 
20 20
     clearCacheAndLogs
21 21
 

+ 1
- 1
public/index.php 查看文件

@@ -5,7 +5,7 @@ use Symfony\Component\HttpFoundation\Request;
5 5
 
6 6
 require __DIR__ . '/../vendor/autoload.php';
7 7
 
8
-$kernel = new Kernel('helloworld', false);
8
+$kernel = new Kernel('prod', false);
9 9
 $request = Request::createFromGlobals();
10 10
 $response = $kernel->handle($request);
11 11
 $response->send();

Loading…
取消
儲存