I create a plugin for application installation in CakePHP. In my plugin folder I have create the folder structure:
/app
/Plugin
/Install
/Controller
/Component
/Model
/Behavior
/View
/Helper
/Install
/Layouts
/Installer.ctp
/webroot
/css
default.css
Now in my Installer.ctp I have enter that code:
<?php
echo $this->Html->css('/Install/default.css');
?>
but the CakePHP return to me the URL /cp/Install/default.css
Any idea on how to make the plugin to load the correct file from within the plugin folder webroot ?