- Fixed errorLogPath default value if none is provided
This commit is contained in:
1 parent
90a2f4d083
commit
4834404575
2 files changed
+7
-3
No files matched your search
@@ -1,7 +1,11 @@
|
||||
<?php
|
||||
|
||||
try {
|
||||
require_once(dirname(__DIR__)."/src/Kernel.php");
|
||||
$projectPath = dirname(__DIR__);
|
||||
|
||||
require_once $projectPath . '/vendor/autoload.php';
|
||||
|
||||
new class($projectPath) extends %NAMESPACE%\Kernel {};
|
||||
}
|
||||
catch(\Throwable $t) {
|
||||
echo sprintf("%s in <strong>%s</strong> <pre>%s</pre>", $t->getMessage(), $t->getFile() . ":" . $t->getLine(), $t->getTraceAsString());
|
||||
|
||||
Reference in new issue
Block a user