cvs: pear-core /PEAR Common.php
| From: | Greg Beaver | Date: | Sat, 12 Nov 2005 02:27:00 +0000 |
| Subject: | cvs: pear-core /PEAR Common.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-36222@lists.php.net to get a copy of this message | ||
cellog Fri Nov 11 21:27:00 2005 EDT
Modified files:
/pear-core/PEAR Common.php
Log:
* REALLY fix Bug #5865: doesn't work with PHP4.2.x
http://cvs.php.net/diff.php/pear-core/PEAR/Common.php?r1=1.151&r2=1.152&ty=u
Index: pear-core/PEAR/Common.php
diff -u pear-core/PEAR/Common.php:1.151 pear-core/PEAR/Common.php:1.152
--- pear-core/PEAR/Common.php:1.151 Fri Nov 4 17:36:31 2005
+++ pear-core/PEAR/Common.php Fri Nov 11 21:26:59 2005
@@ -17,7 +17,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Common.php,v 1.151 2005/11/04 22:36:31 cellog Exp $
+ * @version CVS: $Id: Common.php,v 1.152 2005/11/12 02:26:59 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1.0
* @deprecated File deprecated since Release 1.4.0a1
@@ -1126,15 +1126,4 @@
}
require_once 'PEAR/Config.php';
require_once 'PEAR/PackageFile.php';
-if (!function_exists('file_get_contents')) {
- function file_get_contents($filename)
- {
- $fp = fopen($filename, 'rb');
- $ret = '';
- while (!feof($fp)) {
- $ret .= fread($fp, 8092);;
- }
- return $ret;
- }
-}
?>
\ No newline at end of file