SOURCES: horde-sql2xml.patch - use include_once, not to be dependa...

glen glen at pld-linux.org
Tue Oct 11 20:52:43 CEST 2005


Author: glen                         Date: Tue Oct 11 18:52:43 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use include_once, not to be dependant on PEAR location

---- Files affected:
SOURCES:
   horde-sql2xml.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/horde-sql2xml.patch
diff -u SOURCES/horde-sql2xml.patch:1.1 SOURCES/horde-sql2xml.patch:1.2
--- SOURCES/horde-sql2xml.patch:1.1	Sat Oct  8 20:18:21 2005
+++ SOURCES/horde-sql2xml.patch	Tue Oct 11 20:52:38 2005
@@ -5,7 +5,7 @@
              return Util::extensionExists('zlib');
  
 +        case SERIALIZE_SQLXML:
-+            return file_exists("/usr/share/pear/XML/sql2xml.php");
++            return @include_once 'XML/sql2xml.php';
 +
          case SERIALIZE_NONE:
          case SERIALIZE_BASIC:
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/horde-sql2xml.patch?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list