Browse Source

Merge pull request #103 from Kanti/master

small fixes by @Kanti
pull/109/head
Danang Probo Sayekti 11 years ago
parent
commit
2b36208dc3
2 changed files with 5 additions and 3 deletions
  1. +2
    -2
      cache/installedVersion.json
  2. +3
    -1
      system/includes/functions.php

+ 2
- 2
cache/installedVersion.json View File

@ -1,4 +1,4 @@
{ {
"id": 397789,
"tag_name": "v2.2"
"id": 587750,
"tag_name": "v2.4"
} }

+ 3
- 1
system/includes/functions.php View File

@ -1192,7 +1192,9 @@ EOF;
// The not found error // The not found error
function not_found() { function not_found() {
error(404, render('404', null, false));
header($_SERVER["SERVER_PROTOCOL"]." 404 Not Found");
render('404', null, false);
die();
} }
// Turn an array of posts into an RSS feed // Turn an array of posts into an RSS feed


Loading…
Cancel
Save