mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Add option to specify a global header script per domain
This commit is contained in:
parent
1a6e84d9cc
commit
ecb598dc15
6 changed files with 27 additions and 7 deletions
|
|
@ -769,6 +769,10 @@ class ModuleHandler extends Handler
|
|||
if($type == "view" && $kind != 'admin')
|
||||
{
|
||||
$domain_info = Context::get('site_module_info');
|
||||
if ($domain_info && $domain_info->settings && $domain_info->settings->html_header)
|
||||
{
|
||||
Context::addHtmlHeader($domain_info->settings->html_header);
|
||||
}
|
||||
if ($domain_info && $domain_info->settings && $domain_info->settings->html_footer)
|
||||
{
|
||||
Context::addHtmlFooter($domain_info->settings->html_footer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue