Update index.php

This commit is contained in:
mitsukarenai 2013-09-11 15:08:07 +02:00
parent a0810242ee
commit 4bada54f75

View File

@ -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();
<a href="https://github.com/sebsauvage/rss-bridge">RSS-Bridge</a> alpha 0.1
</footer>
</body>
</html>
</html>