[pLog-svn] r1704 - in plog/branches/plog-1.1-ben/class: config gallery/dao view/admin

ork at devel.plogworld.net ork at devel.plogworld.net
Mon Apr 4 17:34:48 GMT 2005


Author: ork
Date: 2005-04-04 17:34:47 +0000 (Mon, 04 Apr 2005)
New Revision: 1704

Modified:
   plog/branches/plog-1.1-ben/class/config/config.class.php
   plog/branches/plog-1.1-ben/class/gallery/dao/galleryresource.class.php
   plog/branches/plog-1.1-ben/class/view/admin/admindefaultview.class.php
Log:
even more includes moved ..


Modified: plog/branches/plog-1.1-ben/class/config/config.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/config/config.class.php	2005-04-04 17:33:52 UTC (rev 1703)
+++ plog/branches/plog-1.1-ben/class/config/config.class.php	2005-04-04 17:34:47 UTC (rev 1704)
@@ -98,7 +98,7 @@
 
 	            // if all went fine, get the name for that class
         	    $className = $storageTypes[$storage];
-		    include_once( PLOG_CLASS_PATH.'class/config/'.strtolower($className).'.class.php' );
+                include_once( PLOG_CLASS_PATH.'class/config/'.strtolower($className).'.class.php' );
 	            // and create an object
         	    $configInstance[$storage] = new $className( $params );
             }

Modified: plog/branches/plog-1.1-ben/class/gallery/dao/galleryresource.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/gallery/dao/galleryresource.class.php	2005-04-04 17:33:52 UTC (rev 1703)
+++ plog/branches/plog-1.1-ben/class/gallery/dao/galleryresource.class.php	2005-04-04 17:34:47 UTC (rev 1704)
@@ -8,7 +8,6 @@
     include_once( PLOG_CLASS_PATH."class/gallery/data/galleryresourcezipmetadatareader.class.php" );
     include_once( PLOG_CLASS_PATH."class/gallery/galleryconstants.php" );
     include_once( PLOG_CLASS_PATH."class/gallery/dao/galleryresourcestorage.class.php" );
-    include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
     
     // Add this to avoid long file name error in windows server
     define('GETID3_HELPERAPPSDIR', 'no_helper_apps_needed'); 
@@ -120,6 +119,9 @@
 		 */	
         function getTimestamp()
         {
+            // source necessary source
+            include_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
+
         	return new Timestamp($this->_date);
         }
 

Modified: plog/branches/plog-1.1-ben/class/view/admin/admindefaultview.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/view/admin/admindefaultview.class.php	2005-04-04 17:33:52 UTC (rev 1703)
+++ plog/branches/plog-1.1-ben/class/view/admin/admindefaultview.class.php	2005-04-04 17:34:47 UTC (rev 1704)
@@ -9,6 +9,7 @@
     include_once( PLOG_CLASS_PATH."class/template/templateservice.class.php" );
     include_once( PLOG_CLASS_PATH."class/template/template.class.php" );
 	include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
+	include_once( PLOG_CLASS_PATH."class/misc/version.class.php" );
 
     // name of the template we are going to use for this view
     define( "DEFAULTADMIN_TEMPLATE", "default" );




More information about the pLog-svn mailing list