aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorRomain d'Alverny <rda@mageia.org>2011-06-08 16:50:24 +0000
committerRomain d'Alverny <rda@mageia.org>2011-06-08 16:50:24 +0000
commitfa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91 (patch)
tree6c2177a95d3e35d5af01c16df700979735302c6a /index.php
parent4678c074c9d011ce1b32eb1d0a78899881eea070 (diff)
downloadhugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.tar
hugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.tar.gz
hugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.tar.bz2
hugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.tar.xz
hugs-fa5aa3123c2184dbc24f9be1cc8ca4b8da3a3d91.zip
alternative to submit photos
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9d51427..03e255c 100644
--- a/index.php
+++ b/index.php
@@ -42,7 +42,8 @@ if (count($images) > 0) {
$out = sprintf('<figure>%s</figure>', $out);
} else {
-
+ header($_SERVER['SERVER_PROTOCOL'] . ': 404 Not Found');
+ header('Status: 404 Not Found');
$out = '<div id="hi"><p>404 Hug Not Found :(</p></div>';
}