[pLog-svn] r3323 - plog/trunk/class/summary/view

oscar at devel.lifetype.net oscar at devel.lifetype.net
Tue May 2 20:22:14 GMT 2006


Author: oscar
Date: 2006-05-02 20:22:14 +0000 (Tue, 02 May 2006)
New Revision: 3323

Modified:
   plog/trunk/class/summary/view/summarycachedview.class.php
Log:
fixed an issue that prevented the locale specified in the request from being loaded correctly.


Modified: plog/trunk/class/summary/view/summarycachedview.class.php
===================================================================
--- plog/trunk/class/summary/view/summarycachedview.class.php	2006-05-02 19:53:23 UTC (rev 3322)
+++ plog/trunk/class/summary/view/summarycachedview.class.php	2006-05-02 20:22:14 UTC (rev 3323)
@@ -86,12 +86,9 @@
 		
 		function sendUncachedOutput()
 		{
-	        include_once( PLOG_CLASS_PATH."class/config/config.class.php" );
-	        include_once( PLOG_CLASS_PATH."class/locale/locales.class.php" );
 			include_once( PLOG_CLASS_PATH."class/xml/rssparser/rssparser.class.php" );
 
-		    $config =& Config::getConfig();
-			$this->_locale =& Locales::getLocale( $config->getValue("default_locale" ));
+			$this->_getLocale();
 			$this->_params->setValue( "version", new Version());
 			$this->_params->setValue( "locale", $this->_locale);
 			$this->_params->setValue( "rss", new RssParser());



More information about the pLog-svn mailing list