This commit is contained in:
Hypolite Petovan 2017-05-14 22:32:24 +00:00 committed by GitHub
commit a94e648e9c
2 changed files with 6 additions and 0 deletions

View file

@ -1,4 +1,7 @@
<?php <?php
use Friendica\App;
if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) { if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
$directory = dirname($_SERVER["argv"][0]); $directory = dirname($_SERVER["argv"][0]);

View file

@ -1,4 +1,7 @@
<?php <?php
use Friendica\App;
if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) { if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
$directory = dirname($_SERVER["argv"][0]); $directory = dirname($_SERVER["argv"][0]);