* change the extenion dir from ext to opt.

This commit is contained in:
wangchunsheng
2011-03-08 13:55:52 +00:00
parent 879b73683f
commit b7c8d2cec4
2 changed files with 2 additions and 2 deletions

View File

@@ -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))
{