From 4bada54f75b975015627722e3fb04ea4e183f135 Mon Sep 17 00:00:00 2001 From: mitsukarenai Date: Wed, 11 Sep 2013 15:08:07 +0200 Subject: [PATCH] Update index.php --- index.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index a95fcbb4..1c52ebc5 100644 --- a/index.php +++ b/index.php @@ -13,6 +13,7 @@ TODO : date_default_timezone_set('UTC'); error_reporting(0); +ini_set('user_agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:20.0; RSS-Bridge; +https://github.com/sebsauvage/rss-bridge/) Gecko/20100101 Firefox/20.0'); //ini_set('display_errors','1'); error_reporting(E_ALL); // For debugging only. try{ @@ -32,9 +33,6 @@ try{ $format = $_REQUEST['format']; unset($_REQUEST['format']); - // FIXME : necessary ? - // ini_set('user_agent', 'Mozilla/5.0 (X11; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0'); - $cache = Cache::create('FileCache'); // Data retrieval @@ -135,4 +133,4 @@ $formats = Format::searchInformation(); RSS-Bridge alpha 0.1 - \ No newline at end of file +