Add basepath to App
This commit is contained in:
parent
3437e73ae4
commit
569cd459ec
10 changed files with 49 additions and 28 deletions
|
@ -11,7 +11,7 @@ use Friendica\App;
|
|||
*/
|
||||
require_once("boot.php");
|
||||
|
||||
$a = new App;
|
||||
$a = new App(dirname(__DIR__));
|
||||
@include(".htconfig.php");
|
||||
|
||||
$lang = get_browser_language();
|
||||
|
|
|
@ -5,7 +5,7 @@ use Friendica\Core\Config;
|
|||
|
||||
require_once("boot.php");
|
||||
|
||||
$a = new App;
|
||||
$a = new App(dirname(__DIR__));
|
||||
@include(".htconfig.php");
|
||||
|
||||
$lang = get_browser_language();
|
||||
|
|
|
@ -12,7 +12,7 @@ ini_set('log_errors', '0');
|
|||
|
||||
include 'boot.php';
|
||||
|
||||
$a = new App();
|
||||
$a = new App(dirname(__DIR__));
|
||||
|
||||
if (x($a->config, 'php_path')) {
|
||||
$phpath = $a->config['php_path'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue