mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
RSS parse error fix
This commit is contained in:
@@ -165,7 +165,11 @@ class rssCreate
|
|||||||
public function __construct($content_type, $rss_type, $topic_id, $row)
|
public function __construct($content_type, $rss_type, $topic_id, $row)
|
||||||
{ // Constructor
|
{ // Constructor
|
||||||
$sql_rs = new db;
|
$sql_rs = new db;
|
||||||
global $sql, $pref, $rssgen;
|
global $rssgen;
|
||||||
|
$sql = e107::getDb();
|
||||||
|
$pref = e107::getPref();
|
||||||
|
$tp = e107::getParser();
|
||||||
|
|
||||||
$this->e107 = e107::getInstance();
|
$this->e107 = e107::getInstance();
|
||||||
|
|
||||||
$this -> path = e_PLUGIN."rss_menu/";
|
$this -> path = e_PLUGIN."rss_menu/";
|
||||||
|
Reference in New Issue
Block a user