Move App to src

- Add `use Friendica\App;` wherever needed
This commit is contained in:
Hypolite Petovan 2017-04-30 00:07:00 -04:00
commit 20043914e6
197 changed files with 1321 additions and 996 deletions

View file

@ -3,6 +3,8 @@
* @package util
*/
use Friendica\App;
/*
* require boot.php
*/

View file

@ -1,5 +1,6 @@
<?php
use Friendica\App;
use Friendica\Core\Config;
require_once("boot.php");

View file

@ -7,6 +7,7 @@
* Output to <path/to/messages.po>
*/
use Friendica\App;
DEFINE("NORM_REGEXP", "|[\\\]|");

View file

@ -3,6 +3,7 @@
// Run this from cmdline in basedir and quickly see if we've
// got any parse errors in our application files.
use Friendica\App;
error_reporting(E_ERROR | E_WARNING | E_PARSE );
ini_set('display_errors', '1');