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

Move app to src
pull/415/head 3.5.2
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
use Friendica\App;
if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
$directory = dirname($_SERVER["argv"][0]);

View File

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

View File

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