Gazelle/sections/error/404.php

7 lines
245 B
PHP
Raw Normal View History

2011-03-28 14:21:28 +00:00
<h1>Error: 404</h1> Not Found.
<?
//Hide alerts for missing images and static requests
if(!preg_match("/\.(ico|jpg|jpeg|gif|png)$/", $_SERVER['REQUEST_URI']) && substr($_SERVER['REQUEST_URI'],0,9) !== '/static/') {
notify(STATUS_CHAN,'404');
}