X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FBaseObject.php;h=7e90478a9d613a378bf28dace96144a9b38f94b5;hb=96ffb213d38767300330d8b8ebdb31f9b3dac807;hp=1a23408ba1e4a4ce24028363966cbb57ea89ee8e;hpb=800dbc7f44ad7b9d2942691b3080c6d96753297e;p=friendica.git diff --git a/src/BaseObject.php b/src/BaseObject.php index 1a23408ba1..7e90478a9d 100644 --- a/src/BaseObject.php +++ b/src/BaseObject.php @@ -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;