--- /dev/null
+--- 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()) {
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
%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1
+%patch1 -p1
%{__sed} -i.bak -e '
s,@extensiondir@,%{php_extensiondir},
' xcache.ini