]> git.mxchange.org Git - friendica.git/blobdiff - src/BaseObject.php
Merge pull request #6987 from tobiasd/20190408-dbupdateemail
[friendica.git] / src / BaseObject.php
index 1a23408ba1e4a4ce24028363966cbb57ea89ee8e..7e90478a9d613a378bf28dace96144a9b38f94b5 100644 (file)
@@ -4,7 +4,7 @@
  */
 namespace Friendica;
 
-require_once 'boot.php';
+require_once __DIR__ . '/../boot.php';
 
 use Friendica\Network\HTTPException\InternalServerErrorException;
 
@@ -28,7 +28,7 @@ class BaseObject
        public static function getApp()
        {
                if (empty(self::$app)) {
-                       throw new InternalServerErrorException('App isn\' initialized.');
+                       throw new InternalServerErrorException('App isn\'t initialized.');
                }
 
                return self::$app;