ErrorController.php 633 B

12345678910111213141516171819202122
  1. <?php
  2. /**
  3. * ErrorController
  4. * Feel free to change this and customize your own error message
  5. *
  6. * @author darkredz
  7. */
  8. class ErrorController extends DooController{
  9. public function index(){
  10. echo '<h1>ERROR 404 not found</h1>';
  11. echo '<p>This is handler by an internal Route as defined in common.conf.php $config[\'ERROR_404_ROUTE\']</p>
  12. <p>Your error document needs to be more than 512 bytes in length. If not IE will display its default error page.</p>
  13. <p>Give some helpful comments other than 404 :(
  14. Also check out the links page for a list of URLs available in this demo.</p>';
  15. }
  16. }
  17. ?>