[packages/php-xcache] do not enforce ini settings from app. these are set per system in php.ini!
glen
glen at pld-linux.org
Wed Oct 30 13:02:37 CET 2013
commit b550273fe872aca81df93d1aa54edc675122508d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Oct 30 14:01:07 2013 +0200
do not enforce ini settings from app. these are set per system in php.ini!
ini-settings.patch | 11 +++++++++++
php-xcache.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/php-xcache.spec b/php-xcache.spec
index bab5f0d..493cc59 100644
--- a/php-xcache.spec
+++ b/php-xcache.spec
@@ -14,6 +14,7 @@ Source0: http://xcache.lighttpd.net/pub/Releases/%{version}/xcache-%{version}.ta
Source1: %{modname}-apache.conf
Source2: %{modname}-lighttpd.conf
Patch0: config.patch
+Patch1: ini-settings.patch
URL: http://xcache.lighttpd.net/
BuildRequires: %{php_name}-devel >= 4:5.2.17-8
BuildRequires: rpmbuild(macros) >= 1.344
@@ -56,6 +57,7 @@ More information you can find at %{url}.
%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1
+%patch1 -p1
%{__sed} -i.bak -e '
s, at extensiondir@,%{php_extensiondir},
' xcache.ini
diff --git a/ini-settings.patch b/ini-settings.patch
new file mode 100644
index 0000000..c47aafa
--- /dev/null
+++ b/ini-settings.patch
@@ -0,0 +1,11 @@
+--- xcache-3.0.2/htdocs/common/common.php~ 2013-10-30 13:57:53.030784918 +0200
++++ xcache-3.0.2/htdocs/common/common.php 2013-10-30 13:32:28.000000000 +0200
+@@ -234,8 +234,6 @@
+ return $list_html;
+ }
+
+-error_reporting(E_ALL);
+-ini_set('display_errors', 'On');
+ define('REQUEST_TIME', time());
+
+ if (function_exists('get_magic_quotes_gpc') && @get_magic_quotes_gpc()) {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-xcache.git/commitdiff/efc71287282bbbd33e605ccfe2554fd7eb7fd666
More information about the pld-cvs-commit
mailing list