diff options
Diffstat (limited to 'tools/init.php')
-rw-r--r-- | tools/init.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/init.php b/tools/init.php index c23d5c9..f3c39ce 100644 --- a/tools/init.php +++ b/tools/init.php @@ -49,13 +49,3 @@ function bytes($a) { } return number_format($a,($c ? 2 : 0),",",".")." ".$unim[$c]; } - -// Check, if there is not content into URL return 'false' -function breakdrm($url) { - @$headers = get_headers($url); - if (preg_match('/^HTTP\/\d\.\d\s+(403)/', $headers[0])){ - return false; - } else { - return true; - } -} |