Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
PHP 5.3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
martin committed Feb 9, 2016
1 parent a6e57d4 commit 0384d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
$allowed_pages[] = 'rss.php';

if (!in_array(basename($_SERVER['PHP_SELF']), $allowed_pages) && !isset($_SESSION['auth'])) {
http_response_code(403);
header('HTTP/1.0 403 Forbidden');
die();
}

Expand Down

0 comments on commit 0384d6e

Please sign in to comment.