Escape global namespaced get_app() calls
- Add deprecated status
This commit is contained in:
parent
b8030313e5
commit
5e1ceb57de
52 changed files with 135 additions and 133 deletions
|
@ -30,7 +30,7 @@ use Friendica\Util\Temporal;
|
|||
|
||||
function get_theme_config_file($theme)
|
||||
{
|
||||
$a = get_app();
|
||||
$a = \get_app();
|
||||
$base_theme = defaults($a->theme_info, 'extends');
|
||||
|
||||
if (file_exists("view/theme/$theme/config.php")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue