|
From: <var...@us...> - 2009-06-01 10:09:35
|
Revision: 6836
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6836&view=rev
Author: vargenau
Date: 2009-06-01 10:09:24 +0000 (Mon, 01 Jun 2009)
Log Message:
-----------
Implement external pages (ENABLE_EXTERNAL_PAGES)
Modified Paths:
--------------
trunk/lib/IniConfig.php
Modified: trunk/lib/IniConfig.php
===================================================================
--- trunk/lib/IniConfig.php 2009-06-01 10:04:38 UTC (rev 6835)
+++ trunk/lib/IniConfig.php 2009-06-01 10:09:24 UTC (rev 6836)
@@ -202,7 +202,8 @@
'ENABLE_MARKUP_DIVSPAN', 'USE_BYTEA', 'UPLOAD_USERDIR', 'DISABLE_UNITS',
'ENABLE_SEARCHHIGHLIGHT', 'DISABLE_UPLOAD_ONLY_ALLOWED_EXTENSIONS',
'ENABLE_AUTH_OPENID', 'INSECURE_ACTIONS_LOCALHOST_ONLY',
- 'ENABLE_MAILNOTIFY', 'ENABLE_RECENTCHANGESBOX', 'ENABLE_PAGE_PUBLIC'
+ 'ENABLE_MAILNOTIFY', 'ENABLE_RECENTCHANGESBOX', 'ENABLE_PAGE_PUBLIC',
+ 'ENABLE_EXTERNAL_PAGES'
);
$rs = @parse_ini_file($file);
@@ -621,7 +622,7 @@
.'SearchHighlight:SemanticRelations:SemanticSearch:SystemInfo:'
.'TitleSearch:'
.'UpLoad:UserPreferences:'
- .'WantedPages:WatchPage:WhoIsOnline:WikiAdminSelect:WikiBlog:'
+ .'WantedPages:WhoIsOnline:WikiAdminSelect:WikiBlog:'
// plus some derivations
.'AllPagesCreatedByMe:AllPagesLastEditedByMe:AllPagesOwnedByMe:AllUserPages:'
.'FullRecentChanges:'
@@ -652,7 +653,13 @@
$AllActionPages[] = 'RateIt'; // RateIt works only in wikilens theme
$AllActionPages[] = 'TranslateText';
$AllActionPages[] = 'UriResolver';
+ $AllActionPages[] = 'WatchPage';
}
+ if (defined('GFORGE') and GFORGE) {
+ if (defined('ENABLE_EXTERNAL_PAGES') and ENABLE_EXTERNAL_PAGES) {
+ $AllActionPages[] = 'ExternalPages';
+ }
+ }
// 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.
|