[geeklog-cvs] Geeklog-1.x/plugins/spamx Import.Admin.class.php, 1.12, 1.13

Dirk Haun dhaun at qs1489.pair.com
Sun Jul 29 04:06:33 EDT 2007


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

Modified Files:
	Import.Admin.class.php 
Log Message:
Set Magpie user agent string to Geeklog


Index: Import.Admin.class.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/spamx/Import.Admin.class.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Import.Admin.class.php	28 May 2007 17:21:32 -0000	1.12
--- Import.Admin.class.php	29 Jul 2007 08:06:31 -0000	1.13
***************
*** 65,68 ****
--- 65,71 ----
          require_once $_CONF['path'] . 'plugins/spamx/magpierss/rss_utils.inc';
  
+         if (!defined('MAGPIE_USER_AGENT')) {
+             define('MAGPIE_USER_AGENT', 'Geeklog/' . VERSION);
+         }
          $rss = fetch_rss($_SPX_CONF['rss_url']);
          if ($rss === false) {




More information about the geeklog-cvs mailing list