[geeklog-cvs] Geeklog-1.x/public_html/admin/plugins/spamx install.php, 1.21, 1.22

Dirk Haun dhaun at qs1489.pair.com
Sat Jan 26 15:06:09 EST 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/spamx
In directory qs1489.pair.com:/tmp/cvs-serv93061/spamx

Modified Files:
	install.php 
Log Message:
Synced code with Static Pages install script


Index: install.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/admin/plugins/spamx/install.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** install.php	26 Jan 2008 18:31:31 -0000	1.21
--- install.php	26 Jan 2008 20:06:07 -0000	1.22
***************
*** 90,94 ****
  *
  */
! function plugin_config()
  {
      global $_CONF, $pi_name;
--- 90,94 ----
  *
  */
! function plugin_load_configuration()
  {
      global $_CONF, $pi_name;
***************
*** 105,108 ****
--- 105,110 ----
          $c->add('action', 128, 'text', 0, 0, null, 50, false, 'spamx');
      }
+ 
+     return true;
  }
  
***************
*** 249,254 ****
      }
  
!     if (function_exists('plugin_config')) {
!         plugin_config();
      }
  
--- 251,260 ----
      }
  
!     // Load the online configuration records
!     if (function_exists('plugin_load_configuration')) {
!         if (!plugin_load_configuration()) {
!             PLG_uninstall($pi_name);
!             return false;
!         }
      }
  




More information about the geeklog-cvs mailing list