|
From: <var...@us...> - 2010-05-18 15:52:06
|
Revision: 7408
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7408&view=rev
Author: vargenau
Date: 2010-05-18 15:52:00 +0000 (Tue, 18 May 2010)
Log Message:
-----------
Do not die for Gforge
Modified Paths:
--------------
trunk/lib/IniConfig.php
Modified: trunk/lib/IniConfig.php
===================================================================
--- trunk/lib/IniConfig.php 2010-05-18 15:45:48 UTC (rev 7407)
+++ trunk/lib/IniConfig.php 2010-05-18 15:52:00 UTC (rev 7408)
@@ -14,7 +14,7 @@
*/
/*
* Copyright 2004,2005,2006,2007 $ThePhpWikiProgrammingTeam
- * Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent
+ * Copyright 2008-2010 Marc-Etienne Vargenau, Alcatel-Lucent
*
* This file is part of PhpWiki.
*
@@ -546,7 +546,9 @@
if (is_writable($dump)) {
save_dump($dump);
} else {
- die($dump . " is not writable");
+ if (! defined('GFORGE') or !GFORGE) {
+ die($dump . " is not writable");
+ }
}
// store locale[] in config.php? This is too problematic.
fixup_dynamic_configs($file); // [100ms]
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|