[geeklog-cvs] geeklog-1.3/system lib-plugins.php,1.45,1.46

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Wed Sep 29 07:43:31 EDT 2004


Update of /var/cvs/geeklog-1.3/system
In directory www:/tmp/cvs-serv10848/system

Modified Files:
	lib-plugins.php 
Log Message:
Removed extra require_once()


Index: lib-plugins.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/lib-plugins.php,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -d -r1.45 -r1.46
*** lib-plugins.php	29 Sep 2004 10:36:28 -0000	1.45
--- lib-plugins.php	29 Sep 2004 11:43:29 -0000	1.46
***************
*** 397,405 ****
  function PLG_doSearch($query, $datestart, $dateend, $topic, $type, $author, $keyType = 'all') 
  {
!     global $_CONF, $_PLUGINS;
  
      $search_results = array();
  
-     require_once($_CONF['path_system'] . 'classes/plugin.class.php');
      $nrows_plugins = 0;
      $total_plugins = 0;
--- 397,404 ----
  function PLG_doSearch($query, $datestart, $dateend, $topic, $type, $author, $keyType = 'all') 
  {
!     global $_PLUGINS;
  
      $search_results = array();
  
      $nrows_plugins = 0;
      $total_plugins = 0;
***************
*** 552,558 ****
  function PLG_getCCOptions() 
  {
!     global $_CONF, $_PLUGINS;
  
-     require_once($_CONF['path_system'] . 'classes/plugin.class.php');
      $plugins = array();
      foreach ($_PLUGINS as $pi_name) {
--- 551,556 ----
  function PLG_getCCOptions() 
  {
!     global $_PLUGINS;
  
      $plugins = array();
      foreach ($_PLUGINS as $pi_name) {




More information about the geeklog-cvs mailing list