[pLog-svn] r2043 - plog/branches/plog-1.1-ben/class/dao

ork at devel.plogworld.net ork at devel.plogworld.net
Sun May 22 16:33:03 GMT 2005


Author: ork
Date: 2005-05-22 16:33:02 +0000 (Sun, 22 May 2005)
New Revision: 2043

Modified:
   plog/branches/plog-1.1-ben/class/dao/bloginfo.class.php
Log:
moved include back to the top, as it must be loaded before the session is started.


Modified: plog/branches/plog-1.1-ben/class/dao/bloginfo.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/dao/bloginfo.class.php	2005-05-22 16:29:46 UTC (rev 2042)
+++ plog/branches/plog-1.1-ben/class/dao/bloginfo.class.php	2005-05-22 16:33:02 UTC (rev 2043)
@@ -1,6 +1,7 @@
 <?php
 
 	include_once( PLOG_CLASS_PATH."class/database/dbobject.class.php" );
+    include_once( PLOG_CLASS_PATH."class/dao/blogsettings.class.php" );
 	
 	/**
 	 * \ingroup DAO
@@ -41,8 +42,6 @@
 
         function BlogInfo( $blog, $owner, $about, $settings, $id = -1 )
         {
-	        include_once( PLOG_CLASS_PATH."class/dao/blogsettings.class.php" );
-
             $this->setBlog( $blog );
             $this->_owner = $owner;
             $this->_about = $about;
@@ -112,14 +111,11 @@
          */
         function getSettings()
         {
-	        include_once( PLOG_CLASS_PATH."class/dao/blogsettings.class.php" );
-
             return $this->_settings;
         }
 
         function getSetting( $setting )
         {
-	        include_once( PLOG_CLASS_PATH."class/dao/blogsettings.class.php" );
 
             return $this->_settings->getValue( $setting );
         }




More information about the pLog-svn mailing list