plugins/search_engines/API/plugins search_engines.php,1.26,1.27

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

Modified Files:
	search_engines.php 
Log Message:
Flush.

Index: search_engines.php
===================================================================
RCS file: /cvsroot/phpopencounter/plugins/search_engines/API/plugins/search_engines.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- search_engines.php	20 Apr 2004 14:25:17 -0000	1.26
+++ search_engines.php	18 May 2004 07:31:19 -0000	1.27
@@ -48,9 +48,15 @@
   var $apiType = 'get';
 
   /**
-  * @var string $table
+  * Constructor.
+  *
+  * @access public
   */
-  var $table = 'pot_search_engines';
+  function phpOpenTracker_API_search_engines() {
+    parent::phpOpenTracker_API_Plugin();
+
+    $this->config['plugins']['search_engines']['table'] = isset($this->config['plugins']['search_engines']['table']) ? $this->config['plugins']['search_engines']['table'] : 'pot_search_engines';
+  }
 
   /**
   * @param  array $parameters
@@ -151,7 +157,7 @@
           $field,
           $this->config['accesslog_table'],
           $this->config['visitors_table'],
-          $this->table,
+          $this->config['plugins']['search_engines']['table'],
           $parameters['client_id'],
           $searchEngineConstraint,
           $constraint,



-------------------------------------------------------
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