From: Reini U. <ru...@x-...> - 2010-06-09 15:10:48
|
2010/6/9 Marc-Etienne Vargenau <Mar...@al...>: > Le 09/06/2010 12:34, ru...@us... a écrit : >> >> Revision: 7508 >> http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7508&view=rev >> Author: rurban >> Date: 2010-06-09 10:34:03 +0000 (Wed, 09 Jun 2010) >> >> Log Message: >> ----------- >> move lib/updateinterwikimap shell script to admin >> index.php: gforge should symlink or copy the config, as everybody else As I said here. No user has a config.ini initially, so you can symlink config-default.ini to config.ini in your setup recipe. >> Modified: trunk/index.php >> =================================================================== >> --- trunk/index.php 2010-06-09 10:10:41 UTC (rev 7507) >> +++ trunk/index.php 2010-06-09 10:34:03 UTC (rev 7508) >> @@ -30,14 +30,10 @@ >> require_once(dirname(__FILE__).'/lib/IniConfig.php'); >> -if (!defined('GFORGE') or !GFORGE) { >> - IniConfig(dirname(__FILE__)."/config/config.ini"); >> -} else { >> - IniConfig(dirname(__FILE__)."/config/config-default.ini"); >> -} >> +IniConfig(dirname(__FILE__)."/config/config.ini"); > > Hello Reini, > > Was there really a problem with my code? > I cannot put my config.ini in Svn, so I used this trick. > What should I do? -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |