plugins/localizer/API/plugins plot_locations.php,1.14,1.15

Sebastian Bergmann <[email protected]> Tue, 18 May 2004 07:31:18 +0000
Newsgroups gmane.comp.web.phpopentracker.cvs
Message-ID <[email protected]>
Update of /cvsroot/phpopencounter/plugins/localizer/API/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23304/localizer/API/plugins

Modified Files:
	plot_locations.php 
Log Message:
Flush.

Index: plot_locations.php
===================================================================
RCS file: /cvsroot/phpopencounter/plugins/localizer/API/plugins/plot_locations.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- plot_locations.php	20 Apr 2004 14:25:16 -0000	1.14
+++ plot_locations.php	18 May 2004 07:31:14 -0000	1.15
@@ -48,9 +48,15 @@
   var $apiType = 'plot';
 
   /**
-  * @var string $table
+  * Constructor.
+  *
+  * @access public
   */
-  var $table = 'pot_localizer';
+  function phpOpenTracker_API_plot_locations() {
+    parent::phpOpenTracker_API_Plugin();
+
+    $this->config['plugins']['localizer']['pot_table'] = isset($this->config['plugins']['localizer']['pot_table']) ? $this->config['plugins']['localizer']['pot_table'] : 'pot_localizer';
+  }
 
   /**
   * @param  array $parameters
@@ -170,7 +176,7 @@
                 %s",
 
         $this->config['visitors_table'],
-        $this->table,
+        $this->config['plugins']['localizer']['pot_table'],
         $parameters['client_id'],
         $this->_constraint($parameters['constraints']),
         $this->_whereTimerange(



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click