mds/app-admin/mmc-core/files/mmc-core-3.0.2-gentoo-1.patch

35 lines
1.1 KiB
Diff
Raw Normal View History

Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2011-07-30
Initial Package Version: 2.3.2
Origin: me
Upstream Status: gentoo specific
Description: wrap mmc alias in define and disable php_flag
diff -uNr mmc-core-3.0.2.orig//web/confs/apache/mmc.conf.in mmc-core-3.0.2/web/confs/apache/mmc.conf.in
--- mmc-core-3.0.2.orig//web/confs/apache/mmc.conf.in 2011-07-30 07:58:33.638000121 +0200
+++ mmc-core-3.0.2/web/confs/apache/mmc.conf.in 2011-07-30 08:00:12.498000123 +0200
@@ -1,11 +1,13 @@
-### Add an alias /mmc on www server root
-Alias /mmc @datadir@/mmc
+<IfDefine MMC>
+ ### Add an alias /mmc on www server root
+ Alias /mmc @datadir@/mmc
-### Allow access to lmc web directory to everyone
-<Directory @datadir@/mmc>
- AllowOverride None
- Order allow,deny
- allow from all
- php_flag short_open_tag on
- php_flag magic_quotes_gpc on
-</Directory>
+ ### Allow access to lmc web directory to everyone
+ <Directory @datadir@/mmc>
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ # php_flag short_open_tag on
+ # php_flag magic_quotes_gpc on
+ </Directory>
+</IfDefine>