[packages/php/PHP_5_5] disable assert.active
glen
glen at pld-linux.org
Sun May 31 16:01:30 CEST 2015
commit f9b33cc4310731d5f001530292ba00bc485eb8e2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 29 12:45:12 2015 +0300
disable assert.active
assert() evaluates code just like eval(). Unless it is actually required
in a live environment, which is almost certainly not the case, this
feature should be deactivated.
from https://github.com/sektioneins/pcc
php-ini.patch | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/php-ini.patch b/php-ini.patch
index 19d3eb3..df1f7e6 100644
--- a/php-ini.patch
+++ b/php-ini.patch
@@ -207,7 +207,16 @@
[Session]
; Handler used to store/retrieve data.
-@@ -1822,7 +1738,7 @@
+@@ -1678,7 +1610,7 @@
+ [Assertion]
+ ; Assert(expr); active by default.
+ ; http://php.net/assert.active
+-;assert.active = On
++assert.active = Off
+
+ ; Issue a PHP warning for each failed assertion.
+ ; http://php.net/assert.warning
+@@ -1806,7 +1738,7 @@
; Sets the directory name where SOAP extension will put cache files.
; http://php.net/soap.wsdl-cache-dir
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/0443386d0ec978978d275b138d60249da53d67df
More information about the pld-cvs-commit
mailing list