1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00
This commit is contained in:
CaMer0n
2012-05-14 19:44:17 +00:00
parent 82cacf61c4
commit aa0daaedfd

View File

@@ -1397,7 +1397,7 @@ class e107
// $type is plugin name // $type is plugin name
default: default:
// data is e.g. 'jslib/myplug.js' // data is e.g. 'jslib/myplug.js'
if(!$this->isInstalled($type)) return; if(!self::isInstalled($type)) return;
if(null !== $zone) $jshandler->requirePluginLib($type, $data, $zone); if(null !== $zone) $jshandler->requirePluginLib($type, $data, $zone);
else $jshandler->requirePluginLib($type, $data); else $jshandler->requirePluginLib($type, $data);
break; break;
@@ -1440,7 +1440,7 @@ class e107
// $type is plugin name // $type is plugin name
default: default:
// data is e.g. 'css/myplug.css' // data is e.g. 'css/myplug.css'
if($this->isInstalled($type)) $jshandler->pluginCSS($type, $data, $media, $preComment, $postComment); if(self::isInstalled($type)) $jshandler->pluginCSS($type, $data, $media, $preComment, $postComment);
break; break;
} }
} }