Permalink
Browse files

Add checking default extensionPath value

  • Loading branch information...
1 parent b7df7f4 commit a1b664813ef719f7910550e6dcd0e42685ab3819 @Yiivgeny Yiivgeny committed Jul 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/base/CApplication.php
@@ -146,7 +146,7 @@ public function __construct($config=null)
unset($config['extensionPath']);
}
else
- Yii::setPathOfAlias('ext',$this->getBasePath().DIRECTORY_SEPARATOR.'extensions');
+ $this->setExtensionPath($this->getBasePath().DIRECTORY_SEPARATOR.'extensions');
if(isset($config['aliases']))
{
$this->setAliases($config['aliases']);

0 comments on commit a1b6648

Please sign in to comment.