/+junk/StupidMVC

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/StupidMVC
4 by Gustav Hatvigsson
* Added FourOhFour.php
1
<?php
2
3
class FourOhFour extends AbstractController {
4
  
5
  public function
6
  get_methods () {
7
    return NULL;
8
  }
9
  
10
  public function
11
  default_method ($url) {
5 by Gustav Hatvigsson
* changed a few small things
12
    header ("HTTP/1.1 Not Found");
13
    http_response_code (404);
4 by Gustav Hatvigsson
* Added FourOhFour.php
14
    echo "<h1> 404, Not found. </h1>";
15
    echo "Could not find " . $url;
16
  }
17
  
18
}