I created one yml file
$loader = sfYaml::load('/pms/config/org.yml');
print_r($loader);
I have values in the yml file
but Its printing only the file name
/pms/config/org.yml
What could be the error.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That happens when the file does not exist. You are pointing to the root dir of you server.
Try something like this to point to the root dir of your project: