summaryrefslogtreecommitdiff
path: root/www/httperror.php
diff options
context:
space:
mode:
authoroweissbarth2014-03-14 20:31:13 +0100
committeroweissbarth2014-03-14 20:31:13 +0100
commit09d24a3f321476ecdbbf10156fe724343a7d4084 (patch)
tree73f572583180c326301fa94d0fc30df2a2712288 /www/httperror.php
parent20d1d5e53ce7713f7d0beb5f8538b936836ad54c (diff)
downloadfiles.iamfabulous.de-09d24a3f321476ecdbbf10156fe724343a7d4084.tar.gz
Removed more warnings.
Added and reorganized inline docs. Every file should have a small header explaining what the file does and what the paramerters are.
Diffstat (limited to 'www/httperror.php')
-rwxr-xr-xwww/httperror.php26
1 files changed, 14 insertions, 12 deletions
diff --git a/www/httperror.php b/www/httperror.php
index a51e98d..d96f5c2 100755
--- a/www/httperror.php
+++ b/www/httperror.php
@@ -1,17 +1,19 @@
<?php
/*
- GET Parameter, die von nginx übergeben werden:
-
- $_GET["e"] = 404 Fehler
- 403 Fehler
- 401 Fehler
- 500 Fehler
- 502 Fehler
- 504 Fehler
-
- Variablen, die der Funktion übergeben werden:
-
- $wrong_folder: enthält den ersten Ordner, der nicht in der Datenbank gespeichert ist, also zB. "Bildr"
+ Displays the error pages. Implemented error provided via $_GET["e"] are:
+ 401
+ 403
+ 500
+ 502
+ 504
+
+ 404 is displayed if $_GET["e"] is not set.
+
+ The element that wasn't found is provided in $wrong_folder.
+
+ $working_path contains the parent of the requested element.
+
+ ==================================================================================================================================================
*/
?>