mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:50:11 +00:00
Add basepath to App
This commit is contained in:
parent
3437e73ae4
commit
569cd459ec
10 changed files with 49 additions and 28 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue