Skip to content

Commit 053df4a

Browse files
author
Greg Bowler
committed
Merge remote-tracking branch 'origin/v4' into v4
2 parents 46f5b53 + 7d1dc6c commit 053df4a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

go.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
* Buckle up and enjoy the ride!
4141
* @link https://github.com/PhpGt/WebEngine/wiki/From-request-to-response
4242
*/
43-
include("init.php");
43+
if(file_exists("init.php")) {
44+
require("init.php");
45+
}
4446
$lifecycle = new Gt\WebEngine\Middleware\Lifecycle();
4547
try {
4648
$lifecycle->start();

0 commit comments

Comments
 (0)