Index: trunk/admin/xcache.php
===================================================================
--- trunk/admin/xcache.php	(revision 114)
+++ trunk/admin/xcache.php	(revision 123)
@@ -1,6 +1,5 @@
 <?php
 
-error_reporting(E_ALL);
-define('REQUEST_TIME', time());
+include("./common.php");
 
 class Cycle
@@ -82,10 +81,4 @@
 	}
 	return implode(' ', $html);
-}
-
-$charset = "UTF-8";
-
-if (file_exists("config.php")) {
-	include("config.php");
 }
 
@@ -189,5 +182,5 @@
 $type_php = XC_TYPE_PHP;
 $type_var = XC_TYPE_VAR;
-$types = array($type_none => 'Statistics', $type_php =>'List PHP', $type_var =>'List Var Data');
+$types = array($type_none => _T('Statistics'), $type_php => _T('List PHP'), $type_var => _T('List Var Data'));
 $xcache_version = XCACHE_VERSION;
 $xcache_modules = XCACHE_MODULES;
