* revert code for web extension.
This commit is contained in:
@@ -483,15 +483,6 @@ class baseControl
|
||||
{
|
||||
if(empty($cssPath)) continue;
|
||||
|
||||
$extModulePath = dirname(dirname($cssPath));
|
||||
if(realpath($extModulePath) != $realModulePath)
|
||||
{
|
||||
$extMethodCssFile = $extModulePath . DS . 'css' . DS . $devicePrefix . $methodName . '.css';
|
||||
if(is_file($extMethodCssFile)) $css .= file_get_contents($extMethodCssFile);
|
||||
$extMethodCssLangFile = $extModulePath . DS . 'css' . DS . $devicePrefix . "{$methodName}.{$clientLang}.css";
|
||||
if(is_file($extMethodCssLangFile)) $css .= file_get_contents($extMethodCssLangFile);
|
||||
}
|
||||
|
||||
$cssMethodExt = $cssPath . $methodName . DS;
|
||||
$cssCommonExt = $cssPath . 'common' . DS;
|
||||
|
||||
@@ -587,13 +578,6 @@ class baseControl
|
||||
{
|
||||
if(empty($jsPath)) continue;
|
||||
|
||||
$extModulePath = dirname(dirname($jsPath));
|
||||
if(realpath($extModulePath) != $realModulePath)
|
||||
{
|
||||
$extMethodJsFile = $extModulePath . DS . 'js' . DS . $this->devicePrefix . $methodName . '.js';
|
||||
if(is_file($extMethodJsFile)) $js .= file_get_contents($extMethodJsFile);
|
||||
}
|
||||
|
||||
$jsMethodExt = $jsPath . $methodName . DS;
|
||||
$jsCommonExt = $jsPath . 'common' . DS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user