johnnyajax

Results comments of johnnyajax

+1 for error handler. This is not normal 404 response for production website: http://phalconphp.com/indexxxx And i can't figure out where and how i can add internal forward like: $app->dispatcher->forward(array("controller" =>...

I would like it to be forwarded as 404 - as any not found controller/action

I think http://www.phalconphp.com/lalala/lalla.jpg should be handled as http://www.phalconphp.com/lalala/lalla and not index page.

Oooo, sorry, i'm still on 0.7. Probably need to update :)

There's no need for ACL just to dany all pages or module. Just attach event listener to beforDispatch and check if user is logged in as admin. If no, forward...

$acl->allow('Admins', '_', '_'); ACL grant's access only to all controllers and actions which he knows (you specify). So if he must to decide, he should know about "anyController" and "anyAction"....