Correction des dossiers pour inclusion des classes rss
This commit is contained in:
parent
a7498110fb
commit
7fc128c1fc
@ -99,10 +99,10 @@ class blog extends common {
|
|||||||
*/
|
*/
|
||||||
public function rss() {
|
public function rss() {
|
||||||
// Inclure les classes
|
// Inclure les classes
|
||||||
include_once 'module/news/vendor/FeedWriter/Item.php';
|
include_once 'module/blog/vendor/FeedWriter/Item.php';
|
||||||
include_once 'module/news/vendor/FeedWriter/Feed.php';
|
include_once 'module/blog/vendor/FeedWriter/Feed.php';
|
||||||
include_once 'module/news/vendor/FeedWriter/RSS2.php';
|
include_once 'module/blog/vendor/FeedWriter/RSS2.php';
|
||||||
include_once 'module/news/vendor/FeedWriter/InvalidOperationException.php';
|
include_once 'module/blog/vendor/FeedWriter/InvalidOperationException.php';
|
||||||
|
|
||||||
date_default_timezone_set('UTC');
|
date_default_timezone_set('UTC');
|
||||||
$feeds = new \FeedWriter\RSS2();
|
$feeds = new \FeedWriter\RSS2();
|
||||||
|
Loading…
Reference in New Issue
Block a user