Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:enovav/startpage.rwrt

  • Loading branch information...
commit c4510bb540de0e7227d504803fdb7c80b5040f9c 2 parents 278e264 + ad4498c
@enovav authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 base64favicon.php
View
4 base64favicon.php
@@ -1,5 +1,3 @@
<?php
-if ($_GET['url']) {
- echo base64_encode(file_get_contents("http://www.google.com/s2/favicons?domain=" . parse_url($_GET['url'], PHP_URL_HOST)));
-}
+echo (isset($_GET['url'])) ? base64_encode(file_get_contents("http://www.google.com/s2/favicons?domain=" . parse_url($_GET['url'], PHP_URL_HOST))) : "";
Please sign in to comment.
Something went wrong with that request. Please try again.