Add basepath to App

This commit is contained in:
Hypolite Petovan 2017-05-02 22:42:42 -04:00
parent 3437e73ae4
commit 569cd459ec
10 changed files with 49 additions and 28 deletions

View file

@ -1736,7 +1736,7 @@ function dbstructure_run(&$argv, &$argc) {
global $a, $db;
if (is_null($a)) {
$a = new App;
$a = new App(dirname(__DIR__));
}
if (is_null($db)) {