"Where initial controller is set as Site Controller in Yii" to understand the architecture
when I search for this I got lot solution how to set using
return array(
'defaultController' => 'home '
);
Can anyone give me an idea where exactly site controller is assigned.
tri
(tri - Tommy Riboe)
2
Why do you want to know? (It’s not a good idea to change the framework files.)
Just define declare it in the .../config/main.php array.
(It’s assigned in .../framework/web/CWebApplication.php which probably may be inherited and extended.)