SOURCES: mediawiki-confdir2.patch - MW_INSTALL_PATH defined at con...

glen glen at pld-linux.org
Sun Apr 30 15:17:22 CEST 2006


Author: glen                         Date: Sun Apr 30 13:17:22 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- MW_INSTALL_PATH defined at config stage

---- Files affected:
SOURCES:
   mediawiki-confdir2.patch (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SOURCES/mediawiki-confdir2.patch
diff -u SOURCES/mediawiki-confdir2.patch:1.4 SOURCES/mediawiki-confdir2.patch:1.5
--- SOURCES/mediawiki-confdir2.patch:1.4	Sun Apr 30 15:09:40 2006
+++ SOURCES/mediawiki-confdir2.patch	Sun Apr 30 15:17:17 2006
@@ -102,11 +102,13 @@
  			<a href='../index.php'>this link</a> to your wiki.</p>\n";
  	}
  }
-@@ -1179,6 +1179,8 @@
+@@ -1179,6 +1179,10 @@
  # and their default values, but don't forget to make changes in _this_
  # file, not there.
  
-+define('MW_INSTALL_PATH', '/usr/share/mediawiki');
++if (!defined('MW_INSTALL_PATH')) {
++	define('MW_INSTALL_PATH', '/usr/share/mediawiki');
++}
 +
  # If you customize your file layout, set \$IP to the directory that contains
  # the other MediaWiki files. It will be used as a base to locate files.
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mediawiki-confdir2.patch?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list