diff --git a/framework/control.class.php b/framework/control.class.php index 6027db6499..7a787b6aa1 100755 --- a/framework/control.class.php +++ b/framework/control.class.php @@ -288,7 +288,7 @@ class control */ public function getExtViewFile($viewFile) { - $extPath = dirname(dirname(realpath($viewFile))) . '/opt/view/'; + $extPath = dirname(dirname(realpath($viewFile))) . '/ext/view/'; $extViewFile = $extPath . basename($viewFile); if(file_exists($extViewFile)) { diff --git a/framework/router.class.php b/framework/router.class.php index 54069461e5..a49c2092e0 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -986,7 +986,7 @@ class router */ public function getModuleExtPath($moduleName, $ext) { - return $this->getModuleRoot() . strtolower(trim($moduleName)) . $this->pathFix . 'opt' . $this->pathFix . $ext . $this->pathFix; + return $this->getModuleRoot() . strtolower(trim($moduleName)) . $this->pathFix . 'ext' . $this->pathFix . $ext . $this->pathFix; } /**