* change the extenion dir from ext to opt.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user