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