/+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 Hartvigsson
  • Date: 2016-03-16 18:40:10 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20160316184010-elzcri35x8y4vl43
* changed how AbstractController->load_view_raw () works

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"]);
14
15
    echo "<h1> 404, Not found. </h1>";
15
16
    echo "Could not find " . $url;
 
17
    $this->load_view_raw ("footer.php");
16
18
  }
17
19
  
18
20
}