X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fpoche%2FTools.class.php;fp=inc%2Fpoche%2FTools.class.php;h=1ef875c91ba7c23c62c738ca3cc0bc7e488c9996;hb=752cd4a8ef7bbc8ebd6c481ed890e0d8e46819a8;hp=8073a3fe88d77c28ead1fa6e7242933322d687fe;hpb=5d198e2b988e9bc44a6ecb4394600015c003003c;p=github%2Fwallabag%2Fwallabag.git diff --git a/inc/poche/Tools.class.php b/inc/poche/Tools.class.php index 8073a3fe..1ef875c9 100755 --- a/inc/poche/Tools.class.php +++ b/inc/poche/Tools.class.php @@ -18,8 +18,6 @@ class Tools die(_('Oops, it seems you don\'t have PHP 5.')); } - error_reporting(E_ALL); - function stripslashesDeep($value) { return is_array($value) ? array_map('stripslashesDeep', $value) @@ -64,7 +62,7 @@ class Tools if (strpos($host, ':') !== false) { $serverport = ''; } - + return 'http' . ($https ? 's' : '') . '://' . $host . $serverport . $scriptname; }