projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b228b99
)
Respect that E_DEPRECATED is 5.3.0 only.
author
Gunnar Wrobel
<p@rdus.de>
Tue, 5 Oct 2010 19:09:28 +0000
(21:09 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Tue, 5 Oct 2010 19:09:28 +0000
(21:09 +0200)
framework/bin/install_framework
patch
|
blob
|
history
diff --git
a/framework/bin/install_framework
b/framework/bin/install_framework
index
ce1bfe3
..
6760fd7
100755
(executable)
--- a/
framework/bin/install_framework
+++ b/
framework/bin/install_framework
@@
-162,7
+162,9
@@
if (!(@include_once 'PEAR/Config.php') ||
!(@include_once 'PEAR/PackageFile.php')) {
print_usage('PEAR libraries are not in the PHP include_path.');
}
-error_reporting(E_ALL & ~E_DEPRECATED);
+if (version_compare(PHP_VERSION, '5.3.0', '>')) {
+ error_reporting(E_ALL & ~E_DEPRECATED);
+}
$pear_config = PEAR_Config::singleton();
$pear_pkg = new PEAR_PackageFile($pear_config);