]> git.pld-linux.org Git - packages/php-xcache.git/blame - config.patch
- unconditional noarch subpackages
[packages/php-xcache.git] / config.patch
CommitLineData
6620175c
ER
1--- xcache-3.0.0/xcache.ini~ 2012-10-18 10:49:34.000000000 +0300
2+++ xcache-3.0.0/xcache.ini 2012-11-21 17:37:53.122003769 +0200
3@@ -1,9 +1,5 @@
4-;; this is an example, it won't work unless properly configured into php.ini
5 [xcache-common]
6-;; non-Windows example:
7-extension = xcache.so
8-;; Windows example:
9-; extension = php_xcache.dll
10+extension = @extensiondir@/xcache.so
11
12 [xcache.admin]
13 xcache.admin.enable_auth = On
14--- xcache-3.0.0/htdocs/common/common.php~ 2012-10-18 10:49:31.000000000 +0300
15+++ xcache-3.0.0/htdocs/common/common.php 2012-11-21 19:41:43.568179416 +0200
16@@ -248,16 +248,7 @@
17 ini_set('magic_quotes_runtime', '0');
18
19 $config = array();
20-if (file_exists("./config.default.php")) {
21- include "./config.default.php";
22-}
23-include "../config.default.php";
24-if (file_exists("../config.php")) {
25- include "../config.php";
26-}
27-if (file_exists("./config.php")) {
28- include "./config.php";
29-}
30+include "../config.php";
31
32 $strings = array();
33 include get_language_file("../common/lang");
This page took 0.099169 seconds and 4 git commands to generate.