fix settings namespace
This commit is contained in:
parent
12c1305d4d
commit
9ebc2c4f8f
2 changed files with 3 additions and 3 deletions
|
@ -18,6 +18,6 @@ $this->registerModule(
|
|||
/* Name */ "Simply favicon",
|
||||
/* Description*/ "Multi-agents favicon",
|
||||
/* Author */ "JC Denis",
|
||||
/* Version */ '2021.08.15',
|
||||
/* Version */ '2021.08.16',
|
||||
/* Permissions */ 'admin'
|
||||
);
|
||||
|
|
|
@ -32,7 +32,7 @@ class publicSimplyFavicon extends dcUrlHandlers
|
|||
global $core;
|
||||
|
||||
$mimetypes = self::$mimetypes;
|
||||
$public_path = path::real(path::fullFromRoot((string) $core->blog->settings->public_path, DC_ROOT)) . '/favicon.';
|
||||
$public_path = path::real(path::fullFromRoot($core->blog->settings->system->public_path, DC_ROOT)) . '/favicon.';
|
||||
|
||||
if (!$core->blog->settings->system->simply_favicon
|
||||
|| empty($arg)
|
||||
|
@ -55,7 +55,7 @@ class publicSimplyFavicon extends dcUrlHandlers
|
|||
}
|
||||
|
||||
$mimetypes = self::$mimetypes;
|
||||
$public_path = path::real(path::fullFromRoot((string) $core->blog->settings->public_path, DC_ROOT)) . '/favicon.';
|
||||
$public_path = path::real(path::fullFromRoot($core->blog->settings->system->public_path, DC_ROOT)) . '/favicon.';
|
||||
$public_url = $core->blog->url.$core->url->getBase('simplyFavicon') . '.';
|
||||
|
||||
// ico : IE6
|
||||
|
|
Loading…
Reference in a new issue