diff --git a/ss/display.php b/ss/display.php index e0b269bc..7bc3f217 100644 --- a/ss/display.php +++ b/ss/display.php @@ -21,7 +21,8 @@ $auth_file = $_SERVER["DOCUMENT_ROOT"] . "/ss/ip-" . $img; $auth_expire = 60 * 60; // You have one hour to remove your content - if (time() - filemtime($auth_file) < $auth_expire) + if (file_exists($auth_file) && + time() - filemtime($auth_file) < $auth_expire) { $auth = md5($img . get_ip());