*/
namespace Friendica;
-require_once 'boot.php';
+require_once __DIR__ . '/../boot.php';
use Friendica\Network\HTTPException\InternalServerErrorException;
*/
class BaseObject
{
+ /**
+ * @var App
+ */
private static $app = null;
/**
public static function getApp()
{
if (empty(self::$app)) {
- throw new InternalServerErrorException('App isn\' initialized.');
+ throw new InternalServerErrorException('App isn\'t initialized.');
}
return self::$app;