I convert a php project to Yii project.
So it has an xml with the users.
So I decide to use simplexml to read this file at login script.
Where is the best folder to save it and how to read it?
I save it at views but it did not work.
Yii::import ('application.views.admin');
$rss = simplexml_load_file('my_xml_file.xml');
Edit:I put the file at the root of my application.
$rss = simplexml_load_file('admin/my_xml_file.xml');