]> git.pld-linux.org Git - packages/php-xcache.git/commitdiff
do not enforce ini settings from app. these are set per system in php.ini!
authorElan Ruusamäe <glen@delfi.ee>
Wed, 30 Oct 2013 12:01:07 +0000 (14:01 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 30 Oct 2013 12:01:07 +0000 (14:01 +0200)
ini-settings.patch [new file with mode: 0644]
php-xcache.spec

diff --git a/ini-settings.patch b/ini-settings.patch
new file mode 100644 (file)
index 0000000..c47aafa
--- /dev/null
@@ -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()) {
index bab5f0d4ff1a21f8fd4d09ddeb6d7d04f3224664..493cc5977b8b3ea9052c54499ebf414ca765367e 100644 (file)
@@ -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,@extensiondir@,%{php_extensiondir},
 ' xcache.ini
This page took 0.097643 seconds and 4 git commands to generate.