SOURCES: phorum-paths.patch (NEW) - config stored in webapps dir

glen glen at pld-linux.org
Wed Mar 8 16:54:04 CET 2006


Author: glen                         Date: Wed Mar  8 15:54:04 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- config stored in webapps dir

---- Files affected:
SOURCES:
   phorum-paths.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/phorum-paths.patch
diff -u /dev/null SOURCES/phorum-paths.patch:1.1
--- /dev/null	Wed Mar  8 16:54:04 2006
+++ SOURCES/phorum-paths.patch	Wed Mar  8 16:53:59 2006
@@ -0,0 +1,11 @@
+--- phorum/common.php~	2005-11-03 23:59:02.000000000 +0200
++++ phorum/common.php	2006-03-08 17:51:34.918772999 +0200
+@@ -106,7 +106,7 @@
+ 
+ // get the database settings and load the database layer
+ if ( empty( $GLOBALS["PHORUM_ALT_DBCONFIG"] ) || $GLOBALS["PHORUM_ALT_DBCONFIG"]==$_REQUEST["PHORUM_ALT_DBCONFIG"] || !defined("PHORUM_WRAPPER") ) {
+-    include_once( "./include/db/config.php" );
++    include_once( "/etc/webapps/phorum/config.php" );
+ } else {
+     $PHORUM["DBCONFIG"] = $GLOBALS["PHORUM_ALT_DBCONFIG"];
+ }
================================================================


More information about the pld-cvs-commit mailing list