/ Published in: PHP
With this code you can pull all admin view files for a particular CakePHP controller in their own admin folder rather than renaming each file admin_whatever.
Line 779 in cake/libs/view/view.php
Line 779 in cake/libs/view/view.php
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if(($routing_admin = Configure::read("Routing.admin")) !== null) { }