[php-apt-parser-maint] r31 - in /branches/des: ChangeLog parse-apt-files.inc

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Tue Jan 8 12:38:22 UTC 2008


Author: dleidert-guest
Date: Tue Jan  8 12:38:22 2008
New Revision: 31

URL: http://svn.debian.org/wsvn/php-apt-parser/?sc=1&rev=31
Log:
* parse-apt-files.inc (chb_file_link_from_directory):
  - Added missing "global $base_url;". Thanks to Janek Thomaschewski
    for the hint.


Modified:
    branches/des/ChangeLog
    branches/des/parse-apt-files.inc

Modified: branches/des/ChangeLog
URL: http://svn.debian.org/wsvn/php-apt-parser/branches/des/ChangeLog?rev=31&op=diff
==============================================================================
--- branches/des/ChangeLog (original)
+++ branches/des/ChangeLog Tue Jan  8 12:38:22 2008
@@ -1,3 +1,8 @@
+2007-03-01  Daniel Leidert  <daniel.leidert at wgdd.de>, 1.3.6:
+	* parse-apt-files.inc (chb_file_link_from_directory):
+	  - Added missing "global $base_url;". Thanks to Janek Thomaschewski
+	    for the hint.
+
 2007-03-01  Daniel Leidert  <daniel.leidert at wgdd.de>, 1.3.5:
 	* parse-apt-files.inc:
 	  - Make $version a local variable. Seems the global thing doesn't

Modified: branches/des/parse-apt-files.inc
URL: http://svn.debian.org/wsvn/php-apt-parser/branches/des/parse-apt-files.inc?rev=31&op=diff
==============================================================================
--- branches/des/parse-apt-files.inc (original)
+++ branches/des/parse-apt-files.inc Tue Jan  8 12:38:22 2008
@@ -1,6 +1,6 @@
 <?php
     //////////////////////////////////////////////////////////////////
-    // PHP Apt-file parser, Version 1.3.5
+    // PHP Apt-file parser, Version 1.3.6
     // $Id$
     //
     // The following PHP functions parse Debian APT-repository files
@@ -122,6 +122,7 @@
     // you might want to comment the function call out.
     function chb_file_link_from_directory( $dir, $ext, $myfields, $mysrcdields )
     {
+        global $base_url;
         $dhandle = false;
         $version = preg_replace("/^[0-9]+\:/", "", $myfields["Version"]);
 




More information about the php-apt-parser-maint mailing list