Re: [phpwiki-checkins] SF.net SVN: phpwiki:[7508] trunk

Reini Urban <[email protected]> Wed, 9 Jun 2010 17:10:40 +0200
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
2010/6/9 Marc-Etienne Vargenau <[email protected]>:
> Le 09/06/2010 12:34, [email protected] 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/

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo