if (function_exists(str_replace('-', '_', $currentTheme) . '_init')) {
$func = str_replace('-', '_', $currentTheme) . '_init';
- $func($app);
+ $func($appHelper);
}
/* Create the page head after setting the language
* 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
}
// Theme templates expect $a as an App instance
- $a = $app;
+ $a = $appHelper;
// Used as is in view/php/default.php
$lang = $l10n->getCurrentLang();