[dev] Patch for making VFS more easy to use outside of Horde

Martin Jansen martin at divbyzero.net
Thu Mar 11 09:18:23 PST 2004


Hey,

attached you'll find a small patch for framework/VFS/VFS.php, which
causes PEAR.php to be required at the top of the file: This makes it
more easy to use the VFS standalone package in applications that do
not make us of Horde otherwise, because one does not need to manually
take care that PEAR.php is included.

-- 
    - Martin                           Martin Jansen
                            http://martinjansen.com/
-------------- next part --------------
Index: VFS.php
===================================================================
RCS file: /repository/framework/VFS/VFS.php,v
retrieving revision 1.60
diff -u -r1.60 VFS.php
--- VFS.php	1 Jan 2004 15:14:42 -0000	1.60
+++ VFS.php	11 Mar 2004 16:24:25 -0000
@@ -1,4 +1,7 @@
 <?php
+
+require_once 'PEAR.php';
+
 /**
  * VFS API for abstracted file storage and access.
  *


More information about the dev mailing list