/+junk/StupidMVC

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/StupidMVC

« back to all changes in this revision

Viewing changes to index.php

  • Committer: Gustav Hatvigsson
  • Date: 2016-03-16 13:50:23 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20160316135023-iy9mun5l76kbvmud
* Added FourOhFour.php
* added a way to define a 404 controller

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
/*
45
45
 * Add controllers here.
 
46
 * 
46
47
 */
47
48
$router->register_default_controller ("Welcome");
48
49
 
 
50
$router->register_404_controller ("FourOhFour");
 
51
 
49
52
$router->route();
50
53
 
51
54