[pLog-svn] r3138 - plog/trunk/class/net

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Mon Mar 27 04:25:01 GMT 2006


Author: jondaley
Date: 2006-03-27 04:25:00 +0000 (Mon, 27 Mar 2006)
New Revision: 3138

Modified:
   plog/trunk/class/net/baserequestgenerator.class.php
Log:
blog_domain no longer lives in blog settings, but instead in a new column: custom_domain

Modified: plog/trunk/class/net/baserequestgenerator.class.php
===================================================================
--- plog/trunk/class/net/baserequestgenerator.class.php	2006-03-27 04:18:35 UTC (rev 3137)
+++ plog/trunk/class/net/baserequestgenerator.class.php	2006-03-27 04:25:00 UTC (rev 3138)
@@ -81,7 +81,7 @@
 				$this->_subdomainsBaseUrl = str_replace( "{blogname}", $blogInfo->getMangledBlog(), $this->_subdomainsBaseUrl );
 				$ownerInfo = $blogInfo->getOwnerInfo();
 				$this->_subdomainsBaseUrl = str_replace( "{username}", Textfilter::urlize($ownerInfo->getUsername()), $this->_subdomainsBaseUrl );
-                $this->_subdomainsBaseUrl = str_replace( "{blogdomain}", $blogInfo->getValue("blog_domain"), $this->_subdomainsBaseUrl );
+                $this->_subdomainsBaseUrl = str_replace( "{blogdomain}", $blogInfo->getCustomDomain(), $this->_subdomainsBaseUrl );
 			}
             $this->_scriptName = $config->getValue( "script_name", DEFAULT_SCRIPT_NAME );
 			



More information about the pLog-svn mailing list