Restore RSS feed until JSON RSS
This commit is contained in:
parent
ad27d9a02e
commit
1513c05c30
1 changed files with 3 additions and 3 deletions
|
@ -113,15 +113,15 @@ function createAutoblog($type, $sitename, $siteurl, $rssurl) {
|
|||
|
||||
/**
|
||||
* RSS
|
||||
*
|
||||
*/
|
||||
try { // à déplacer après la tentative de création de l'autoblog crée avec succès ?
|
||||
require_once('class_rssfeed.php');
|
||||
$rss = new AutoblogRSS(RSS_FILE);
|
||||
$rss->addNewAutoblog($sitename, $foldername, $siteurl, $rssurl);
|
||||
}
|
||||
catch (Exception $e) {
|
||||
;
|
||||
}*/
|
||||
; // DO NOTHING
|
||||
}
|
||||
|
||||
$fp = fopen($foldername .'/index.php', 'w+');
|
||||
if( !fwrite($fp, "<?php require_once '../autoblog.php'; ?>") )
|
||||
|
|
Loading…
Reference in a new issue