From: <var...@us...> - 2009-02-26 14:32:34
|
Revision: 6579 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6579&view=rev Author: vargenau Date: 2009-02-26 14:32:29 +0000 (Thu, 26 Feb 2009) Log Message: ----------- Do not include some action pages for GFORGE Modified Paths: -------------- trunk/lib/IniConfig.php Modified: trunk/lib/IniConfig.php =================================================================== --- trunk/lib/IniConfig.php 2009-02-26 13:57:14 UTC (rev 6578) +++ trunk/lib/IniConfig.php 2009-02-26 14:32:29 UTC (rev 6579) @@ -14,6 +14,7 @@ */ /* * Copyright 2004,2005,2006,2007 $ThePhpWikiProgrammingTeam + * Copyright 2008-2009 Marc-Etienne Vargenau, Alcatel-Lucent * * This file is part of PhpWiki. * @@ -608,13 +609,13 @@ .'CreatePage:' .'FindPage:FullTextSearch:FuzzyPages:' .'InterWikiSearch:' - .'LdapSearch:LikePages:LinkDatabase:LinkSearch:ListRelations:' + .'LikePages:LinkDatabase:LinkSearch:ListRelations:' .'ModeratedPage:MostPopular:' .'OrphanedPages:' - .'PageDump:PageHistory:PageInfo:PasswordReset:PluginManager:' - .'RateIt:RecentChanges:RecentComments:RelatedChanges:' + .'PageDump:PageHistory:PageInfo:PluginManager:' + .'RecentChanges:RecentComments:RelatedChanges:' .'SearchHighlight:SemanticRelations:SemanticSearch:SystemInfo:' - .'TitleSearch:TranslateText:' + .'TitleSearch:' .'UpLoad:UriResolver:UserPreferences:' .'WantedPages:WatchPage:WhoIsOnline:WikiAdminSelect:WikiBlog:' // plus some derivations @@ -641,6 +642,12 @@ $AllActionPages[] = 'SpellCheck'; // SpellCheck does not work $AllActionPages[] = 'PhpWikiAdministration/Chmod'; } + if (!defined('GFORGE') or !GFORGE) { + $AllActionPages[] = 'LdapSearch'; + $AllActionPages[] = 'PasswordReset'; + $AllActionPages[] = 'RateIt'; // RateIt works only in wikilens theme + $AllActionPages[] = 'TranslateText'; + } // If user has not defined PHPWIKI_DIR, and we need it if (!defined('PHPWIKI_DIR') and !file_exists("themes/default")) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |