How do I include a php file from a directory named "files" in the CakePHP 1.3 folder structure?
I have CakePHP 1.3 like below. app -config -controllers -lib -models -views -webroot -css files -js
Now, in order to include the javascript file in my view file (.ctp), I know what I need to do
echo $this->Html->script('manage_products');
and it will include it, but if I want to include any php file from the file directory that is in the webroot folder, is there any cakePHP method or helper I can use or just want to require_once?
+3
source to share