[pLog-svn] r1750 - plog/branches/plog-1.1-ben/class/action
ork at devel.plogworld.net
ork at devel.plogworld.net
Tue Apr 5 18:59:37 GMT 2005
Author: ork
Date: 2005-04-05 18:59:37 +0000 (Tue, 05 Apr 2005)
New Revision: 1750
Modified:
plog/branches/plog-1.1-ben/class/action/viewarticleaction.class.php
Log:
changed includes
Modified: plog/branches/plog-1.1-ben/class/action/viewarticleaction.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/action/viewarticleaction.class.php 2005-04-05 18:53:16 UTC (rev 1749)
+++ plog/branches/plog-1.1-ben/class/action/viewarticleaction.class.php 2005-04-05 18:59:37 UTC (rev 1750)
@@ -1,14 +1,11 @@
<?php
include_once( PLOG_CLASS_PATH."class/action/blogaction.class.php" );
- include_once( PLOG_CLASS_PATH."class/dao/blogs.class.php" );
include_once( PLOG_CLASS_PATH."class/dao/articles.class.php" );
include_once( PLOG_CLASS_PATH."class/dao/articlecategories.class.php" );
include_once( PLOG_CLASS_PATH."class/dao/users.class.php" );
include_once( PLOG_CLASS_PATH."class/dao/referers.class.php" );
include_once( PLOG_CLASS_PATH."class/data/textfilter.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
- include_once( PLOG_CLASS_PATH."class/view/viewarticleview.class.php" );
/**
* \ingroup Action
@@ -53,6 +50,8 @@
function _setErrorView()
{
+ include_once( PLOG_CLASS_PATH."class/view/errorview.class.php" );
+
$this->_view = new ErrorView( $this->_blogInfo );
$this->_view->setValue( "message", "error_fetching_article" );
$this->setCommonData();
@@ -84,6 +83,8 @@
function perform()
{
+ include_once( PLOG_CLASS_PATH."class/view/viewarticleview.class.php" );
+
$this->_view = new ViewArticleView( $this->_blogInfo,
Array( "articleId" => $this->_articleId,
"articleName" => $this->_articleName,
More information about the pLog-svn
mailing list