Zend Frameworkのmodelsのtablesのa.phpからconfigのconfig.xmlを参照したい時、$config = new Zend_Config_Xml('./application/config/config.xml','db');で参照できますが、/config/config.xmlとするとThe file /config/config.xml specified doesn't existとエラーが出ます。
なぜでしょうか?
そもそも、同じディレクトリにいないのに./で参照できるのが解りません。
あなたの回答
tips
プレビュー