From: Reini U. <ru...@us...> - 2002-09-02 08:44:54
|
Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory usw-pr-cvs1:/tmp/cvs-serv1108 Modified Files: SystemInfo.php Log Message: fix: $default_language is not in CVS yet. activated pagestats and cachestats. not activated: diskspace. Index: SystemInfo.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/SystemInfo.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -2 -b -p -d -r1.1 -r1.2 --- SystemInfo.php 1 Sep 2002 16:33:19 -0000 1.1 +++ SystemInfo.php 2 Sep 2002 08:44:49 -0000 1.2 @@ -274,4 +274,7 @@ extends WikiPlugin } natcasesort($available_languages); + // keep this only for a short time. + if (empty($GLOBALS['default_language'])) + $GLOBALS['default_language'] = $GLOBALS['LANG']; return sprintf(_("Total %d languages: "),count($available_languages)) . implode(', ',$available_languages) . ". " . @@ -341,6 +344,6 @@ extends WikiPlugin 'version' => _("PhpWiki engine version"), 'database' => _("Database"), -// 'cachestats' => _("Cache statistics"), -// 'pagestats' => _("Page statistics"), + 'cachestats' => _("Cache statistics"), + 'pagestats' => _("Page statistics"), //'revisionstats' => _("Page revision statistics"), //'linkstats' => _("Link statistics"), |