Merge pull request #414 from Hypolite/improvement/move-app-to-src

Move app to src
This commit is contained in:
Tobias Diekershoff 2017-06-06 12:31:39 +02:00 committed by GitHub
commit 1cd8289a92
3 changed files with 8 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

@ -6,6 +6,8 @@
* Author: Fabio Comuni <http://kirgroup.com/profile/fabrixxm> * Author: Fabio Comuni <http://kirgroup.com/profile/fabrixxm>
*/ */
use Friendica\App;
require_once 'include/Emailer.php'; require_once 'include/Emailer.php';
/* because the fraking openpgp-php is in composer, require libs in composer /* because the fraking openpgp-php is in composer, require libs in composer

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]);