Add basepath to App

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

View file

@ -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();

View file

@ -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();

View file

@ -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'];