|
From: <ru...@us...> - 2009-04-01 13:23:34
|
Revision: 6757
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6757&view=rev
Author: rurban
Date: 2009-04-01 12:13:15 +0000 (Wed, 01 Apr 2009)
Log Message:
-----------
formatting and re-added comment
Modified Paths:
--------------
trunk/lib/IniConfig.php
Modified: trunk/lib/IniConfig.php
===================================================================
--- trunk/lib/IniConfig.php 2009-04-01 11:39:14 UTC (rev 6756)
+++ trunk/lib/IniConfig.php 2009-04-01 12:13:15 UTC (rev 6757)
@@ -594,14 +594,19 @@
// Even on simple 8bit charsets, where just <>& need to be replaced. For iso-8859-[2-4] e.g.
// See <php-src>/ext/standard/html.c
// For performance reasons we require a magic constant to ignore this warning.
- if (defined('IGNORE_CHARSET_NOT_SUPPORTED_WARNING') and IGNORE_CHARSET_NOT_SUPPORTED_WARNING) {
- $ErrorManager->pushErrorHandler(new WikiFunctionCb('_ignore_unknown_charset_warning'));
+ if (defined('IGNORE_CHARSET_NOT_SUPPORTED_WARNING')
+ and IGNORE_CHARSET_NOT_SUPPORTED_WARNING)
+ {
+ $ErrorManager->pushErrorHandler
+ (new WikiFunctionCb('_ignore_unknown_charset_warning'));
}
// Used by SetupWiki to pull in required pages, if not translated, then in english.
// Also used by _WikiTranslation. Really important are only those which return pagelists
// or contain basic functionality.
/*
All pages containing plugins of the same name as the filename:
+ cd pgsrc
+ grep -l '\?plugin ' *| perl -ne'$/=0;chop; s/%([\da-fA-F]{2})/pack("C",hex($1))/ge; next LINE if m{^(Help/|Template|Pgsrc)}; print "$_\n"; {local $/;open F,"<$_"; $f=join("",<F>);} push @a,$_ if $f=~/plugin $_/; END{print join(":",@a)};'
*/
$AllActionPages = explode(':',
'AllPages:AllUsers:AppendText:AuthorHistory:'
@@ -612,8 +617,7 @@
.'ModeratedPage:MostPopular:'
.'OrphanedPages:'
.'PageDump:PageHistory:PageInfo:PluginManager:'
- .'RandomPage:'
- .'RecentChanges:RecentComments:RelatedChanges:'
+ .'RandomPage:RecentChanges:RecentComments:RelatedChanges:'
.'SearchHighlight:SemanticRelations:SemanticSearch:SystemInfo:'
.'TitleSearch:'
.'UpLoad:UserPreferences:'
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|