cvs: pear /PEAR PEAR.php
| From: | Stig Bakken | Date: | Fri, 16 Mar 2001 05:13:00 +0000 |
| Subject: | cvs: pear /PEAR PEAR.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4599@lists.php.net to get a copy of this message | ||
ssb Thu Mar 15 21:13:00 2001 EDT
Added files:
/pear/PEAR PEAR.php
Log:
by putting this dir before $prefix/lib/php in your include_path, you
will use the C version of PEAR and PEAR_Error
Index: pear/PEAR/PEAR.php
+++ pear/PEAR/PEAR.php
<?php
// To use the C version of PEAR/PEAR_Error, put the directory where
// this file is before $prefix/lib/php in your include_path.
//
if (!extension_loaded("PEAR")) {
if (substr(PHP_OS, 0, 3) == "WIN") {
dl("php_pear.dll");
} else {
dl("PEAR.so");
}
}
?>