I need to know my base path …
When i am giving like this echo Yii::app()->basePath;
its showing like this "d:wampwwwtestprojectprotected".
the slashes are not coming.
Can anybody help me to get it corrected…
Thanks in Advance…
I need to know my base path …
When i am giving like this echo Yii::app()->basePath;
its showing like this "d:wampwwwtestprojectprotected".
the slashes are not coming.
Can anybody help me to get it corrected…
Thanks in Advance…
Where are you echoing it, in a view script? Could you show us your relevant code?