Skip to content

Commit a7d5163

Browse files
authored
use variable because $_SERVER is reset after request
1 parent 89e01e9 commit a7d5163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pub/static.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
*/
66
declare(strict_types=1);
77

8-
$_SERVER['OPENGENTO_APP'] = \Opengento\Application\App\StaticResource::class;
8+
$frankengento = \Opengento\Application\App\StaticResource::class;
99

1010
include 'worker.php';

0 commit comments

Comments
 (0)