/+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 Application/Controllers/FourOhFour.php

  • Committer: Gustav Hatvigsson
  • Date: 2016-03-16 16:39:13 UTC
  • mfrom: (4.1.1 StupidMVC)
  • Revision ID: gustav.hartvigsson@gmail.com-20160316163913-9esig2inohayiih3
* merged with parent

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
  default_method ($url) {
12
12
    header ("HTTP/1.1 Not Found");
13
13
    http_response_code (404);
14
 
    $this->load_view_raw ("header.php", ["page_title" => "404"]);
15
14
    echo "<h1> 404, Not found. </h1>";
16
15
    echo "Could not find " . $url;
17
 
    $this->load_view_raw ("footer.php");
18
16
  }
19
17
  
20
18
}