Add basepath to App
This commit is contained in:
@@ -12,7 +12,7 @@ function cli_startup() {
|
||||
global $a, $db;
|
||||
|
||||
if (is_null($a)) {
|
||||
$a = new App;
|
||||
$a = new App(dirname(__DIR__));
|
||||
}
|
||||
|
||||
if (is_null($db)) {
|
||||
|
||||
Reference in New Issue
Block a user