https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rework App modes
[friendica.git/.git]
/
boot.php
diff --git
a/boot.php
b/boot.php
index
bececa9
..
728f36b
100644
(file)
--- a/
boot.php
+++ b/
boot.php
@@
-508,14
+508,7
@@
if (!defined('CURLE_OPERATION_TIMEDOUT')) {
*/
function get_app()
{
- global $a;
-
- if (empty($a)) {
- $a = new App(dirname(__DIR__));
- BaseObject::setApp($a);
- }
-
- return $a;
+ return BaseObject::getApp();
}
/**