FriendsOfCake / app-template

CakePHP2: An empty application template, for use with composer
71 stars 16 forks source link

Make the pages controller throw 404s #42

Closed AD7six closed 10 years ago

AD7six commented 10 years ago

In production mode requesting a page that doesn't exist returns a 500. Instead return a 404, exactly the same response as requesting a controller/action that doesn't exist.

Only in production mode

AD7six commented 10 years ago

Merging as it's what 3.x does and it's logical to do anyway.