Skip to content

Commit 007b058

Browse files
committed
Fix env and remove debug mode
1 parent f491310 commit 007b058

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

init_benchmark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function clearCacheAndLogs() {
1515
}
1616

1717
function init() {
18-
export APP_ENV=$$2
18+
export APP_ENV='prod'
1919

2020
clearCacheAndLogs
2121

public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
require __DIR__ . '/../vendor/autoload.php';
77

8-
$kernel = new Kernel('restapi', true);
8+
$kernel = new Kernel('prod', false);
99
$request = Request::createFromGlobals();
1010
$response = $kernel->handle($request);
1111
$response->send();

0 commit comments

Comments
 (0)