Compare commits

..

No commits in common. "c9c8d578f38ce1e04c3aa7457994d0cdcf5d9701" and "13dfa9240cb59c603e6daf3a078815dc1a9e7c53" have entirely different histories.

1 changed files with 1 additions and 6 deletions

View File

@ -15,12 +15,7 @@ class favicon{
header("Content-Type: image/png"); header("Content-Type: image/png");
if( if(substr_count($url, "/") !== 2){
preg_match(
'/^https?:\/\/[A-Za-z0-9.-]+$/',
$url
) === 0
){
header("X-Error: Only provide the protocol and domain"); header("X-Error: Only provide the protocol and domain");
$this->defaulticon(); $this->defaulticon();