Undefined variable: basePath in CController.php

See an error in this image…

I’m sorry, maybe it’s my fault. The file CController.php missing line:


$moduleViewPath=$basePath=Yii::app()->getViewPath();

And where is $basePath defined?

@napeHeK: Did you remove that line from CController.php?