Merge pull request #414 from Hypolite/improvement/move-app-to-src 3.5.2
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 6 Jun 2017 10:31:39 +0000 (12:31 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2017 10:31:39 +0000 (12:31 +0200)
Move app to src

pumpio/pumpio_sync.php
securemail/securemail.php
twitter/twitter_sync.php

index af843c1..e691a38 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+
+use Friendica\App;
+
 if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
        $directory = dirname($_SERVER["argv"][0]);
 
index c92410a..79f5e2d 100644 (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
index 6c76af7..49c4135 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+
+use Friendica\App;
+
 if (!file_exists("boot.php") AND (sizeof($_SERVER["argv"]) != 0)) {
        $directory = dirname($_SERVER["argv"][0]);