Steevan BARBOYON 8 лет назад
Родитель
Сommit
24d4d6ff07
2 измененных файлов: 2 добавлений и 2 удалений
  1. 1
    1
      init_benchmark.sh
  2. 1
    1
      public/index.php

+ 1
- 1
init_benchmark.sh Просмотреть файл

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

+ 1
- 1
public/index.php Просмотреть файл

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

Загрузка…
Отмена
Сохранить