diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/functions.inc.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/functions.inc.php b/inc/functions.inc.php index b0706d5..04e58e3 100644 --- a/inc/functions.inc.php +++ b/inc/functions.inc.php | |||
| @@ -27,4 +27,10 @@ function crc32hex($str) { | |||
| 27 | return sprintf("%x",crc32($str)); | 27 | return sprintf("%x",crc32($str)); |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | function error_image() { | ||
| 31 | header("Content-Type: image/png"); | ||
| 32 | readfile('layout/error.png'); | ||
| 33 | exit; | ||
| 34 | } | ||
| 35 | |||
| 30 | ?> | 36 | ?> |
