mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +09:00
NOISSUE PHP 버전 호환성 개선.
This commit is contained in:
parent
c54fec7f79
commit
dc41e3c4a3
3 changed files with 11 additions and 7 deletions
|
|
@ -26,9 +26,9 @@ class rssView extends rss
|
|||
*/
|
||||
function rss($document_list = null, $rss_title = null, $add_description = null)
|
||||
{
|
||||
$oDocumentModel = &getModel('document');
|
||||
$oModuleModel = &getModel('module');
|
||||
$oModuleController = &getController('module');
|
||||
$oDocumentModel = getModel('document');
|
||||
$oModuleModel = getModel('module');
|
||||
$oModuleController = getController('module');
|
||||
// Get the content and information for the current requested module if the method is not called from another module
|
||||
if(!$document_list)
|
||||
{
|
||||
|
|
@ -75,6 +75,9 @@ class rssView extends rss
|
|||
|
||||
if(!count($module_srls) && !$add_description) return $this->dispError();
|
||||
|
||||
$info = new stdClass;
|
||||
$args = new stdClass;
|
||||
|
||||
if($module_srls)
|
||||
{
|
||||
$args->module_srl = implode(',',$module_srls);
|
||||
|
|
@ -248,7 +251,7 @@ class rssView extends rss
|
|||
if(!$current_module_srl) return new Object();
|
||||
}
|
||||
// Get teh RSS configurations for the selected module
|
||||
$oRssModel = &getModel('rss');
|
||||
$oRssModel = getModel('rss');
|
||||
$rss_config = $oRssModel->getRssModuleConfig($current_module_srl);
|
||||
Context::set('rss_config', $rss_config);
|
||||
// Set the template file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue