[evolvis-commits] r18489: $gfwww is empty here. huh. stupid autoloader people.

mirabilos at evolvis.org mirabilos at evolvis.org
Thu Jul 12 13:26:22 CEST 2012


Author: mirabilos
Date: 2012-07-12 13:26:22 +0200 (Thu, 12 Jul 2012)
New Revision: 18489

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/plugins/mediawiki/bin/mw-wrapper.php
Log:
$gfwww is empty here. huh. stupid autoloader people.

Modified: trunk/gforge_base/evolvisforge-5.1/src/plugins/mediawiki/bin/mw-wrapper.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/plugins/mediawiki/bin/mw-wrapper.php	2012-07-12 11:26:18 UTC (rev 18488)
+++ trunk/gforge_base/evolvisforge-5.1/src/plugins/mediawiki/bin/mw-wrapper.php	2012-07-12 11:26:22 UTC (rev 18489)
@@ -80,7 +80,8 @@
 register_shutdown_function('ffmw_wrapper_fixup_searchpath',
     forge_get_config('database_user'));
 
-$ff_localsettings = $gfwww . 'plugins/mediawiki/LocalSettings.php';
+$ff_localsettings = forge_get_config('source_path') .
+    '/www/plugins/mediawiki/LocalSettings.php';
 if ($preload_localsettings) {
 	define("MEDIAWIKI", true);
 	require_once($ff_localsettings);



More information about the evolvis-commits mailing list