[pLog-svn] r3044 - plugins/branches/lifetype-1.0/plogpoll
    oscar at devel.lifetype.net 
    oscar at devel.lifetype.net
       
    Mon Mar  6 23:00:22 GMT 2006
    
    
  
Author: oscar
Date: 2006-03-06 23:00:22 +0000 (Mon, 06 Mar 2006)
New Revision: 3044
Modified:
   plugins/branches/lifetype-1.0/plogpoll/pluginplogpoll.class.php
Log:
fixed the plogpoll plugin when using subdomains
Modified: plugins/branches/lifetype-1.0/plogpoll/pluginplogpoll.class.php
===================================================================
--- plugins/branches/lifetype-1.0/plogpoll/pluginplogpoll.class.php	2006-03-06 19:41:14 UTC (rev 3043)
+++ plugins/branches/lifetype-1.0/plogpoll/pluginplogpoll.class.php	2006-03-06 23:00:22 UTC (rev 3044)
@@ -147,8 +147,9 @@
     }
     else
     {
+      $rg = $this->_blogInfo->getBlogRequestGenerator();
       $config =& Config::getConfig();
-      $table .= "<form method='post' action='". $config->getValue('base_url') ."/?op=plogpollRegisterVote'>\n";
+      $table .= "<form method='post' action='". $rg->getIndexUrl() ."/?op=plogpollRegisterVote'>\n";
       $table .= "<table id='pollbody'>";
       $table .= "<tr><th>". $poll->getSubject() ."</th></tr>";
 
    
    
More information about the pLog-svn
mailing list