Add basepath to App
This commit is contained in:
@@ -49,8 +49,9 @@ require_once("boot.php");
|
||||
|
||||
global $a, $db;
|
||||
|
||||
if (is_null($a))
|
||||
$a = new App;
|
||||
if (is_null($a)) {
|
||||
$a = new App(dirname(__DIR__));
|
||||
}
|
||||
|
||||
if (is_null($db)) {
|
||||
@include(".htconfig.php");
|
||||
|
||||
Reference in New Issue
Block a user