mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-22 22:46:53 +00:00
Update index.php
This commit is contained in:
parent
a0810242ee
commit
4bada54f75
@ -13,6 +13,7 @@ TODO :
|
|||||||
|
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
error_reporting(0);
|
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.
|
//ini_set('display_errors','1'); error_reporting(E_ALL); // For debugging only.
|
||||||
|
|
||||||
try{
|
try{
|
||||||
@ -32,9 +33,6 @@ try{
|
|||||||
$format = $_REQUEST['format'];
|
$format = $_REQUEST['format'];
|
||||||
unset($_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');
|
$cache = Cache::create('FileCache');
|
||||||
|
|
||||||
// Data retrieval
|
// Data retrieval
|
||||||
@ -135,4 +133,4 @@ $formats = Format::searchInformation();
|
|||||||
<a href="https://github.com/sebsauvage/rss-bridge">RSS-Bridge</a> alpha 0.1
|
<a href="https://github.com/sebsauvage/rss-bridge">RSS-Bridge</a> alpha 0.1
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user