mds/app-admin/mmc-core/files/mmc-core-3.0.2-gentoo-1.patch
geos_one 283f7378da app-admin/mmc-core: Bump to new version
(Portage version: 2.1.10.7/svn/Linux x86_64, RepoMan options: --force)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@2992 6952d904-891a-0410-993b-d76249ca496b
2011-07-30 10:53:45 +00:00

35 lines
1.1 KiB
Diff

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>