mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Fix missing $app
This commit is contained in:
parent
782271aa3c
commit
c495461ffb
1 changed files with 3 additions and 3 deletions
|
@ -431,7 +431,7 @@ class Page implements ArrayAccess
|
|||
|
||||
if (function_exists(str_replace('-', '_', $currentTheme) . '_init')) {
|
||||
$func = str_replace('-', '_', $currentTheme) . '_init';
|
||||
$func($app);
|
||||
$func($appHelper);
|
||||
}
|
||||
|
||||
/* Create the page head after setting the language
|
||||
|
@ -441,7 +441,7 @@ class Page implements ArrayAccess
|
|||
* all the module functions have executed so that all
|
||||
* theme choices made by the modules can take effect.
|
||||
*/
|
||||
$this->initHead($app, $args, $l10n, $config, $pconfig, $localUID);
|
||||
$this->initHead($appHelper, $args, $l10n, $config, $pconfig, $localUID);
|
||||
|
||||
/* Build the page ending -- this is stuff that goes right before
|
||||
* the closing </body> tag
|
||||
|
@ -527,7 +527,7 @@ class Page implements ArrayAccess
|
|||
}
|
||||
|
||||
// Theme templates expect $a as an App instance
|
||||
$a = $app;
|
||||
$a = $appHelper;
|
||||
|
||||
// Used as is in view/php/default.php
|
||||
$lang = $l10n->getCurrentLang();
|
||||
|
|
Loading…
Reference in a new issue