URL cleanup issue

I did a change as below in main.php and my whole application crashed which was working otherwise perfectly.

Change -





So, I commented rules and uncommented urlFormat, but all images links and controllers are not working.

For ex-

<img src="images/base/logo.gif" width="307" height="65" border="0">

There is a images directory in root folder and it works if I comment the path, but with it uncommented, image is not found.

Similarly, redirects are not working !


Please suggest what am I missing here


read this : :lol: yii url

So, Should I use createURL in all actions of controllers ?

Right now, its like this -