| Current File : /home/mmdealscpanel/yummmdeals.com/xcache_3.zip |
PK x3�Z)��� � cacher/config.example.phpnu �[��� <?php
// DO NOT rename/delete/modify example file which will be overwritten when upgrade
// How To Custom Config:
// 1. copy config.example.php config.php; edit config.php
// 2. upgrading your config.php when config.example.php were upgraded
// XCache will load
// 1. ../config.default.php
// 2. ./config.default.php
// 3. ../config.php
// 4. ./config.php
// width of graph for free or usage blocks
$config['percent_graph_width'] = 120;
$config['percent_graph_type'] = 'used'; // either 'used' or 'free'
// only enable if you have password protection for admin page
// enabling this option will cause user to eval() whatever code they want
$config['enable_eval'] = false;
PK x3�ZJ
\�K K config.example.phpnu �[��� <?php
// DO NOT rename/delete/modify example file which will be overwritten when upgrade
// How To Custom Config:
// 1. copy config.example.php config.php; edit config.php
// 2. upgrading your config.php when config.example.php were upgraded
// leave this setting unset to auto detect using browser request header
// $config['lang'] = 'en-us';
$config['charset'] = "UTF-8";
// enable this for translators only
$config['show_todo_strings'] = false;
// this ob filter is applied for the cache list, not the whole page
function custom_ob_filter_path_nicer($list_html)
{
$list_html = ob_filter_path_nicer_default($list_html); // this function is from common.php
return $list_html;
}
$config['path_nicer'] = 'custom_ob_filter_path_nicer';
// "XCache Cacher" http auth for is enforced for security reason
// if http auth is disabled, any vhost user who can upload *.php will see all variable data cached in XCache
/*// but if you have your own login/permission system, you can integerate it using the following example
// {{{ login example
// this is an example only, it's won't work for you without your implemention.
function check_admin_and_by_pass_xcache_http_auth()
{
require("/path/to/user-login-and-permission-lib.php");
session_start();
if (user_logined()) {
user_load_permissions();
if (user_is_admin()) {
// user is trusted after permission checks above.
// tell XCache about it (the only secure way to by pass XCache http auth)
$_SERVER["PHP_AUTH_USER"] = "moo";
$_SERVER["PHP_AUTH_PW"] = "your-xcache-password-before-md5";
}
else {
die("Permission denied");
}
}
else {
if (!ask_the_user_to_login()) {
exit;
}
}
return true;
}
check_admin_and_by_pass_xcache_http_auth();
*/
// }}}
/* by pass XCache http auth
$_SERVER["PHP_AUTH_USER"] = "moo";
$_SERVER["PHP_AUTH_PW"] = "your-xcache-password-before-md5";
*/
PK x3�Z��)� � coverager/config.example.phpnu �[��� <?php
// DO NOT rename/delete/modify example file which will be overwritten when upgrade
// How To Custom Config:
// 1. copy config.example.php config.php; edit config.php
// 2. upgrading your config.php when config.example.php were upgraded
// XCache will load
// 1. ../config.default.php
// 2. ./config.default.php
// 3. ../config.php
// 4. ./config.php
// $config['include_paths'] = array("/www/my-php-project/");
// $config['exclude_paths'] = array("/www/my-php-project/tmp/");
$config['syntax_higlight'] = true;
$config['use_cache'] = false;
//// $config['datadir'] is default to ini_get("xcache.coveragedump_directory")
// $config['datadir'] = '';
PK q�Z�o�E E cacher/lang/en.ponu �[��� msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-08 14:41+0800\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: edit.tpl.php:8
#, php-format
msgid "Editing Variable %s"
msgstr ""
#: edit.tpl.php:13
#, php-format
msgid "Set %s in config to enable"
msgstr ""
#: index.php:187 index.php:213
msgid "Total"
msgstr ""
#: index.php:263
msgid "Summary"
msgstr ""
#: index.php:264
msgid "List PHP"
msgstr ""
#: index.php:265
msgid "List Var Data"
msgstr ""
#: listentries.tpl.php:11
msgid "php Cached"
msgstr "PHP Cached"
#: listentries.tpl.php:11
msgid "var Cached"
msgstr "Variable Cached"
#: listentries.tpl.php:15
msgid "php Deleted"
msgstr "PHP Deleted"
#: listentries.tpl.php:15
msgid "var Deleted"
msgstr "Variable Deleted"
#: sub/entrylist.tpl.php:14
msgid "entry.id"
msgstr "Id|"
#: sub/entrylist.tpl.php:19
msgid "entry.remove"
msgstr "Remove|"
#: sub/entrylist.tpl.php:24
msgid "entry.name"
msgstr "Entry name|The entry name or filename"
#: sub/entrylist.tpl.php:25
msgid "entry.hits"
msgstr "Hits|Hit times of this entry (loaded from this cache)"
#: sub/entrylist.tpl.php:26
msgid "entry.size"
msgstr "Size|Size in bytes of this entry in the cache"
#: sub/entrylist.tpl.php:31
msgid "entry.refcount"
msgstr "Refs|Reference count of this entry is holded by a php request"
#: sub/entrylist.tpl.php:32
msgid "entry.phprefcount"
msgstr "Shares|Count of entry sharing this php data"
#: sub/entrylist.tpl.php:33
msgid "entry.class_cnt"
msgstr "Cls.|Count of classes"
#: sub/entrylist.tpl.php:34
msgid "entry.function_cnt"
msgstr "Funcs|Count of functions"
#: sub/entrylist.tpl.php:35
msgid "entry.file_size"
msgstr "Src Size|Size of the source file"
#: sub/entrylist.tpl.php:36
msgid "entry.file_mtime"
msgstr "Modified|Last modified time of the source file"
#: sub/entrylist.tpl.php:39
msgid "entry.file_device"
msgstr "dev|device number of the source file"
#: sub/entrylist.tpl.php:40
msgid "entry.file_inode"
msgstr "ino|inode number of the source file"
#: sub/entrylist.tpl.php:44
msgid "entry.hash"
msgstr "Hash|Hash value of this entry"
#: sub/entrylist.tpl.php:45
msgid "entry.atime"
msgstr "Access|Last time when this entry is accessed"
#: sub/entrylist.tpl.php:46
msgid "entry.ctime"
msgstr "Create|The time when this entry is stored"
#: sub/entrylist.tpl.php:51
msgid "entry.delete"
msgstr "Delete|The time when this entry is deleted"
#: sub/entrylist.tpl.php:149
msgid "Remove Selected"
msgstr ""
#: sub/moduleinfo.tpl.php:1
msgid "Module Info"
msgstr ""
#: sub/summary.tpl.php:3
msgid "Caches"
msgstr "Caches"
#: sub/summary.tpl.php:6
msgid "cache.cache"
msgstr "Cache|"
#: sub/summary.tpl.php:7
msgid "cache.slots"
msgstr "Slots|Number of hash slots. the setting from your php.ini"
#: sub/summary.tpl.php:8
msgid "cache.size"
msgstr "Size|Cache Size, Size of the cache (or cache chunk), in bytes"
#: sub/summary.tpl.php:9
msgid "cache.avail"
msgstr "Avail|Available Memory, free memory in bytes of this cache"
#: sub/summary.tpl.php:10
msgid "cache.blocksgraph"
msgstr ""
"Percent Graph|Shows how much memory available in percent, and memory blocks "
"status in graph"
#: sub/summary.tpl.php:11
msgid "cache.operations"
msgstr "Operations|Press the clear button to clean this cache"
#: sub/summary.tpl.php:12
msgid "cache.status"
msgstr ""
"Status|Compiling flag, \"Compiling\" if the cache is busy compiling php "
"script. \"Disabled\" if cache is disabled"
#: sub/summary.tpl.php:13
msgid "cache.hits"
msgstr "Hits|Cache Hits, hit=a var/php is loaded from this cache"
#: sub/summary.tpl.php:14
msgid "cache.hits_graph"
msgstr "Hits*24H|Hits graph of last 24 hours"
#: sub/summary.tpl.php:15
msgid "cache.hits_avg_h"
msgstr "Hits/H|Average Hits per Hour. Only last 24 hours is logged"
#: sub/summary.tpl.php:16
msgid "cache.hits_avg_s"
msgstr "Hits/S|Average Hits per Second. Only last 5 seconds is logged"
#: sub/summary.tpl.php:17
msgid "cache.updates"
msgstr "Updates|Cache Updates"
#: sub/summary.tpl.php:18
msgid "cache.skips"
msgstr ""
"Skips|Skips. Skip=updates are needed but skipped for some reason. e.g.: "
"other process/thread is busy compiling on this cache"
#: sub/summary.tpl.php:19
msgid "cache.ooms"
msgstr ""
"OOMs|Out Of Memory, how many times a new item should be stored but there "
"isn't enough memory in the cache, think of increasing the xcache.size or "
"xcache.var_size"
#: sub/summary.tpl.php:20
msgid "cache.errors"
msgstr ""
"Errs|Compiler errors, how many times your script(s) failed to be compiled by "
"PHP. You should really check what is happening if you see this value "
"increase. (See Help for more information)"
#: sub/summary.tpl.php:21
msgid "cache.readonly_protected"
msgstr ""
"Protected|Whether readonly_protection is available and enable on this cache "
"(See help for more information)"
#: sub/summary.tpl.php:22
msgid "cache.cached"
msgstr "Cached|Number of entries stored in this cache"
#: sub/summary.tpl.php:23
msgid "cache.deleted"
msgstr ""
"Deleted|Number of entries is pending in delete list (expired but referenced)"
#: sub/summary.tpl.php:24
msgid "cache.gc_timer"
msgstr "GC|Seconds count down of Garbage Collection"
#: sub/summary.tpl.php:30
msgid "Clear"
msgstr ""
#: sub/summary.tpl.php:31
msgid "Disabled"
msgstr ""
#: sub/summary.tpl.php:32
msgid "Disable"
msgstr ""
#: sub/summary.tpl.php:33
msgid "Enable"
msgstr ""
#: sub/summary.tpl.php:34
msgid "Compiling"
msgstr ""
#: sub/summary.tpl.php:35
msgid "Normal"
msgstr ""
#: sub/summary.tpl.php:36 sub/testcoredump.tpl.php:3
msgid "Sure?"
msgstr ""
#: sub/summary.tpl.php:132
msgid "Legends:"
msgstr ""
#: sub/summary.tpl.php:134
msgid "% Free"
msgstr ""
#: sub/summary.tpl.php:134
msgid "% Used"
msgstr ""
#: sub/summary.tpl.php:136
msgid "Free Blocks"
msgstr ""
#: sub/summary.tpl.php:136
msgid "Used Blocks"
msgstr ""
#: sub/summary.tpl.php:138
msgid "Hits"
msgstr ""
PK q�Zo��ǃ � cacher/lang/zh-simplified.phpnu �[��� <?php
// auto generated, do not modify
$strings += array(
"Editing Variable %s"
=> "正在编辑变量 %s",
"Set %s in config to enable"
=> "请在配置文件中设置 %s 启用本功能",
"Total"
=> "总共",
"Summary"
=> "摘要信息",
"List PHP"
=> "列出PHP",
"List Var Data"
=> "列变量数据",
"php Cached"
=> "缓存的 PHP 脚本",
"var Cached"
=> "缓存的变量",
"php Deleted"
=> "待删 PHP 脚本缓存",
"var Deleted"
=> "待删变量缓存",
"entry.id"
=> "Id|",
"entry.remove"
=> "删除|",
"entry.name"
=> "项目名/文件名|项目名或者文件名",
"entry.hits"
=> "命中|该项目被命中的次数 (从缓存区载入)",
"entry.size"
=> "大小|项目在缓存里占用字节数",
"entry.refcount"
=> "引用数|项目依然被其他进程占据的引用次数",
"entry.phprefcount"
=> "共享数|与本项目相同 PHP 代码的个数",
"entry.class_cnt"
=> "类|类个数",
"entry.function_cnt"
=> "函数|函数个数",
"entry.file_size"
=> "源大小|源文件大小",
"entry.file_mtime"
=> "修改|源文件最后修改时间",
"entry.file_device"
=> "dev|源文件所在设备ID",
"entry.file_inode"
=> "ino|源文件的 inode",
"entry.hash"
=> "哈希|该项目的哈希值",
"entry.atime"
=> "访问|最后访问该项目的时间",
"entry.ctime"
=> "创建|该项目被创建于缓存区内的时间",
"entry.delete"
=> "删除|该项目被决定删除的时间",
"Remove Selected"
=> "删除所选",
"Module Info"
=> "模块信息",
"Caches"
=> "缓存区",
"cache.cache"
=> "缓存|",
"cache.slots"
=> "槽|Hash 槽个数, 对应 php.ini 里的设置",
"cache.size"
=> "大小|共享内存区大小, 单位: 字节",
"cache.avail"
=> "剩余|可用内存, 对应缓存区的剩余内存字节数",
"cache.blocksgraph"
=> "百分比图|条状显示可用内存的比例, 以及显示分配块状态",
"cache.operations"
=> "操作|点击按钮清除对应缓存区的数据",
"cache.status"
=> "状态|状态标记. 当缓存区正在编译 PHP 脚本时标记为 \"编译中\". 当缓存区暂停使用时标记为 \"禁用\"",
"cache.hits"
=> "命中|缓存命中次数, 命中=从该缓存载入 PHP 或者变量",
"cache.hits_graph"
=> "24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数",
"cache.hits_avg_h"
=> "命中/H|每小时命中次数. 只统计最后 24 小时",
"cache.hits_avg_s"
=> "命中/S|每秒命中次数. 只统计最后 5 秒",
"cache.updates"
=> "更新|缓存更新次数",
"cache.skips"
=> "跳过|跳过更新次数, 跳过=XCache 自动判断阻塞的缓存区自动跳过阻塞等待, 直接使用编译不缓存方式继续处理请求",
"cache.ooms"
=> "内存不足|内存不足次数, 显示需要存储新数据但是缓存区内存不足的次数. 如果出现太频繁请考虑加大配置中的 xcache.size 或者 xcache.var_size",
"cache.errors"
=> "错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您应该检查什么脚本产生错误. 参考 帮助 获取更多信息",
"cache.readonly_protected"
=> "保护|显示该 Cache 是否支持并启用 readonly_protection. 参考 帮助 获取更多信息",
"cache.cached"
=> "缓存|缓存于该缓存区的项目条数",
"cache.deleted"
=> "待删|缓存区内将要删除的项目 (已经删除但是还被某些进程占用)",
"cache.gc_timer"
=> "GC|垃圾回收的倒计时",
"Clear"
=> "清除",
"Disabled"
=> "禁用",
"Disable"
=> "禁用",
"Enable"
=> "启用",
"Compiling"
=> "编译中",
"Normal"
=> "正常",
"Sure?"
=> "确认?",
"Legends:"
=> "图例:",
"% Free"
=> "% 剩余",
"% Used"
=> "% 已用",
"Free Blocks"
=> "未用块",
"Used Blocks"
=> "已用块",
"Hits"
=> "命中",
);
PK q�Z;��* * cacher/lang/zh-simplified.ponu �[��� msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-08 14:41+0800\n"
"Language: zh\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: edit.tpl.php:8
#, php-format
msgid "Editing Variable %s"
msgstr "正在编辑变量 %s"
#: edit.tpl.php:13
#, php-format
msgid "Set %s in config to enable"
msgstr "请在配置文件中设置 %s 启用本功能"
#: index.php:187 index.php:213
msgid "Total"
msgstr "总共"
#: index.php:263
msgid "Summary"
msgstr "摘要信息"
#: index.php:264
msgid "List PHP"
msgstr "列出PHP"
#: index.php:265
msgid "List Var Data"
msgstr "列变量数据"
#: listentries.tpl.php:11
msgid "php Cached"
msgstr "缓存的 PHP 脚本"
#: listentries.tpl.php:11
msgid "var Cached"
msgstr "缓存的变量"
#: listentries.tpl.php:15
msgid "php Deleted"
msgstr "待删 PHP 脚本缓存"
#: listentries.tpl.php:15
msgid "var Deleted"
msgstr "待删变量缓存"
#: sub/entrylist.tpl.php:14
msgid "entry.id"
msgstr "Id|"
#: sub/entrylist.tpl.php:19
msgid "entry.remove"
msgstr "删除|"
#: sub/entrylist.tpl.php:24
msgid "entry.name"
msgstr "项目名/文件名|项目名或者文件名"
#: sub/entrylist.tpl.php:25
msgid "entry.hits"
msgstr "命中|该项目被命中的次数 (从缓存区载入)"
#: sub/entrylist.tpl.php:26
msgid "entry.size"
msgstr "大小|项目在缓存里占用字节数"
#: sub/entrylist.tpl.php:31
msgid "entry.refcount"
msgstr "引用数|项目依然被其他进程占据的引用次数"
#: sub/entrylist.tpl.php:32
msgid "entry.phprefcount"
msgstr "共享数|与本项目相同 PHP 代码的个数"
#: sub/entrylist.tpl.php:33
msgid "entry.class_cnt"
msgstr "类|类个数"
#: sub/entrylist.tpl.php:34
msgid "entry.function_cnt"
msgstr "函数|函数个数"
#: sub/entrylist.tpl.php:35
msgid "entry.file_size"
msgstr "源大小|源文件大小"
#: sub/entrylist.tpl.php:36
msgid "entry.file_mtime"
msgstr "修改|源文件最后修改时间"
#: sub/entrylist.tpl.php:39
msgid "entry.file_device"
msgstr "dev|源文件所在设备ID"
#: sub/entrylist.tpl.php:40
msgid "entry.file_inode"
msgstr "ino|源文件的 inode"
#: sub/entrylist.tpl.php:44
msgid "entry.hash"
msgstr "哈希|该项目的哈希值"
#: sub/entrylist.tpl.php:45
msgid "entry.atime"
msgstr "访问|最后访问该项目的时间"
#: sub/entrylist.tpl.php:46
msgid "entry.ctime"
msgstr "创建|该项目被创建于缓存区内的时间"
#: sub/entrylist.tpl.php:51
msgid "entry.delete"
msgstr "删除|该项目被决定删除的时间"
#: sub/entrylist.tpl.php:149
msgid "Remove Selected"
msgstr "删除所选"
#: sub/moduleinfo.tpl.php:1
msgid "Module Info"
msgstr "模块信息"
#: sub/summary.tpl.php:3
msgid "Caches"
msgstr "缓存区"
#: sub/summary.tpl.php:6
msgid "cache.cache"
msgstr "缓存|"
#: sub/summary.tpl.php:7
msgid "cache.slots"
msgstr "槽|Hash 槽个数, 对应 php.ini 里的设置"
#: sub/summary.tpl.php:8
msgid "cache.size"
msgstr "大小|共享内存区大小, 单位: 字节"
#: sub/summary.tpl.php:9
msgid "cache.avail"
msgstr "剩余|可用内存, 对应缓存区的剩余内存字节数"
#: sub/summary.tpl.php:10
msgid "cache.blocksgraph"
msgstr "百分比图|条状显示可用内存的比例, 以及显示分配块状态"
#: sub/summary.tpl.php:11
msgid "cache.operations"
msgstr "操作|点击按钮清除对应缓存区的数据"
#: sub/summary.tpl.php:12
msgid "cache.status"
msgstr ""
"状态|状态标记. 当缓存区正在编译 PHP 脚本时标记为 \"编译中\". 当缓存区暂停使用"
"时标记为 \"禁用\""
#: sub/summary.tpl.php:13
msgid "cache.hits"
msgstr "命中|缓存命中次数, 命中=从该缓存载入 PHP 或者变量"
#: sub/summary.tpl.php:14
msgid "cache.hits_graph"
msgstr "24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数"
#: sub/summary.tpl.php:15
msgid "cache.hits_avg_h"
msgstr "命中/H|每小时命中次数. 只统计最后 24 小时"
#: sub/summary.tpl.php:16
msgid "cache.hits_avg_s"
msgstr "命中/S|每秒命中次数. 只统计最后 5 秒"
#: sub/summary.tpl.php:17
msgid "cache.updates"
msgstr "更新|缓存更新次数"
#: sub/summary.tpl.php:18
msgid "cache.skips"
msgstr ""
"跳过|跳过更新次数, 跳过=XCache 自动判断阻塞的缓存区自动跳过阻塞等待, 直接使用"
"编译不缓存方式继续处理请求"
#: sub/summary.tpl.php:19
msgid "cache.ooms"
msgstr ""
"内存不足|内存不足次数, 显示需要存储新数据但是缓存区内存不足的次数. 如果出现太"
"频繁请考虑加大配置中的 xcache.size 或者 xcache.var_size"
#: sub/summary.tpl.php:20
msgid "cache.errors"
msgstr ""
"错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您"
"应该检查什么脚本产生错误. 参考 帮助 获取更多信息"
#: sub/summary.tpl.php:21
msgid "cache.readonly_protected"
msgstr ""
"保护|显示该 Cache 是否支持并启用 readonly_protection. 参考 帮助 获取更多信息"
#: sub/summary.tpl.php:22
msgid "cache.cached"
msgstr "缓存|缓存于该缓存区的项目条数"
#: sub/summary.tpl.php:23
msgid "cache.deleted"
msgstr "待删|缓存区内将要删除的项目 (已经删除但是还被某些进程占用)"
#: sub/summary.tpl.php:24
msgid "cache.gc_timer"
msgstr "GC|垃圾回收的倒计时"
#: sub/summary.tpl.php:30
msgid "Clear"
msgstr "清除"
#: sub/summary.tpl.php:31
msgid "Disabled"
msgstr "禁用"
#: sub/summary.tpl.php:32
msgid "Disable"
msgstr "禁用"
#: sub/summary.tpl.php:33
msgid "Enable"
msgstr "启用"
#: sub/summary.tpl.php:34
msgid "Compiling"
msgstr "编译中"
#: sub/summary.tpl.php:35
msgid "Normal"
msgstr "正常"
#: sub/summary.tpl.php:36 sub/testcoredump.tpl.php:3
msgid "Sure?"
msgstr "确认?"
#: sub/summary.tpl.php:132
msgid "Legends:"
msgstr "图例:"
#: sub/summary.tpl.php:134
msgid "% Free"
msgstr "% 剩余"
#: sub/summary.tpl.php:134
msgid "% Used"
msgstr "% 已用"
#: sub/summary.tpl.php:136
msgid "Free Blocks"
msgstr "未用块"
#: sub/summary.tpl.php:136
msgid "Used Blocks"
msgstr "已用块"
#: sub/summary.tpl.php:138
msgid "Hits"
msgstr "命中"
PK q�ZV^� � cacher/lang/zh-traditional.phpnu �[��� <?php
// auto generated, do not modify
$strings += array(
"Editing Variable %s"
=> "正在编辑变量 %s",
"Set %s in config to enable"
=> "請在配置文件中設置 %s 啟用本功能",
"Total"
=> "总共",
"Summary"
=> "簡要訊息",
"List PHP"
=> "列出PHP",
"List Var Data"
=> "列變數資料",
"php Cached"
=> "快取的 PHP 指令",
"var Cached"
=> "快取的變數",
"php Deleted"
=> "待刪 PHP 指令快取",
"var Deleted"
=> "待刪變數快取",
"entry.id"
=> "Id|",
"entry.remove"
=> "移除|",
"entry.name"
=> "項目名稱/檔案名稱|項目名稱或者檔案名稱",
"entry.hits"
=> "命中|該項目被命中的次數 (從共享記憶體區載入)",
"entry.size"
=> "大小|項目在共享記憶體裡佔用位元數",
"entry.refcount"
=> "引用數|項目依然被其他程序佔用的引用次數",
"entry.phprefcount"
=> "共享|與本項目相同 PHP 內容的个數",
"entry.class_cnt"
=> "类|类个数",
"entry.function_cnt"
=> "函数|函数个数",
"entry.file_size"
=> "源大小|原始檔案大小",
"entry.file_mtime"
=> "修改|原始檔案最後修改時間",
"entry.file_device"
=> "dev|原始檔案所在設備ID",
"entry.file_inode"
=> "ino|原始檔案的inode",
"entry.hash"
=> "Hash|Hash",
"entry.atime"
=> "存取|最後存取該項目的時間",
"entry.ctime"
=> "建立|該項目被建立於共享內的時間",
"entry.delete"
=> "移除|該項目被移除於共享內的時間",
"Remove Selected"
=> "移除所选",
"Module Info"
=> "組元訊息",
"Caches"
=> "快取",
"cache.cache"
=> "快取|",
"cache.slots"
=> "槽|Hash 槽個數,對應 php.ini 裡的設置",
"cache.size"
=> "大小|共享記憶體區大小,單位:位元",
"cache.avail"
=> "剩餘|可用記憶體,對應共享記憶體區的剩餘記憶體位元數",
"cache.blocksgraph"
=> "百分比图|條狀顯示可用記憶體的比例",
"cache.operations"
=> "操作|點擊按鈕清除對應共享記憶體區的資料",
"cache.status"
=> "狀態|狀態標記. 當共享內存區正在編譯 PHP 腳本時標記為 \"編譯中\". 當共享內存區暫停使用時標記為 \"禁用\"",
"cache.hits"
=> "命中|共享記憶體命中次數,命中=從該共享記憶體載入 PHP 或者變數",
"cache.hits_graph"
=> "24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数",
"cache.hits_avg_h"
=> "命中/H|每小时命中次数. 只统计最后 24 小时",
"cache.hits_avg_s"
=> "命中/S|每秒命中次数. 只统计最后 5 秒",
"cache.updates"
=> "更新|共享記憶更新過次數",
"cache.skips"
=> "跳過|跳過更新次數,跳過=XCache 自動判斷阻塞的共享記憶體區自動跳過阻塞等待,直接使用编译不存储方式繼續處理請求",
"cache.ooms"
=> "記憶體不足|記憶體不足次數,顯示需要儲存新資料但是共享記憶體區記憶體不足的次數. 如果出現太頻繁請考慮加大配置中的 xcache.size 或者 xcache.var_size",
"cache.errors"
=> "错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您应该检查什么脚本产生错误. 参考 說明 获取更多信息",
"cache.readonly_protected"
=> "保护|顯示該 Cache 是否支援並啟用 readonly_protection. 参考 說明",
"cache.cached"
=> "快取|共享記憶體於該共享記憶體區的項目個數",
"cache.deleted"
=> "待刪|共享記憶體區內將要刪除的項目 (已經刪除但是還被某些程序佔用)",
"cache.gc_timer"
=> "GC|垃圾回收的倒數計時",
"Clear"
=> "清除",
"Disabled"
=> "禁用",
"Disable"
=> "禁用",
"Enable"
=> "啟用",
"Compiling"
=> "編譯中",
"Normal"
=> "正常",
"Sure?"
=> "確認?",
"Legends:"
=> "图例:",
"% Free"
=> "% 剩余",
"% Used"
=> "% 已用",
"Free Blocks"
=> "未用块",
"Used Blocks"
=> "已用块",
"Hits"
=> "命中",
);
PK q�Z4�Z�� � cacher/lang/en.phpnu �[��� <?php
// auto generated, do not modify
$strings += array(
"php Cached"
=> "PHP Cached",
"var Cached"
=> "Variable Cached",
"php Deleted"
=> "PHP Deleted",
"var Deleted"
=> "Variable Deleted",
"entry.id"
=> "Id|",
"entry.remove"
=> "Remove|",
"entry.name"
=> "Entry name|The entry name or filename",
"entry.hits"
=> "Hits|Hit times of this entry (loaded from this cache)",
"entry.size"
=> "Size|Size in bytes of this entry in the cache",
"entry.refcount"
=> "Refs|Reference count of this entry is holded by a php request",
"entry.phprefcount"
=> "Shares|Count of entry sharing this php data",
"entry.class_cnt"
=> "Cls.|Count of classes",
"entry.function_cnt"
=> "Funcs|Count of functions",
"entry.file_size"
=> "Src Size|Size of the source file",
"entry.file_mtime"
=> "Modified|Last modified time of the source file",
"entry.file_device"
=> "dev|device number of the source file",
"entry.file_inode"
=> "ino|inode number of the source file",
"entry.hash"
=> "Hash|Hash value of this entry",
"entry.atime"
=> "Access|Last time when this entry is accessed",
"entry.ctime"
=> "Create|The time when this entry is stored",
"entry.delete"
=> "Delete|The time when this entry is deleted",
"Caches"
=> "Caches",
"cache.cache"
=> "Cache|",
"cache.slots"
=> "Slots|Number of hash slots. the setting from your php.ini",
"cache.size"
=> "Size|Cache Size, Size of the cache (or cache chunk), in bytes",
"cache.avail"
=> "Avail|Available Memory, free memory in bytes of this cache",
"cache.blocksgraph"
=> "Percent Graph|Shows how much memory available in percent, and memory blocks status in graph",
"cache.operations"
=> "Operations|Press the clear button to clean this cache",
"cache.status"
=> "Status|Compiling flag, \"Compiling\" if the cache is busy compiling php script. \"Disabled\" if cache is disabled",
"cache.hits"
=> "Hits|Cache Hits, hit=a var/php is loaded from this cache",
"cache.hits_graph"
=> "Hits*24H|Hits graph of last 24 hours",
"cache.hits_avg_h"
=> "Hits/H|Average Hits per Hour. Only last 24 hours is logged",
"cache.hits_avg_s"
=> "Hits/S|Average Hits per Second. Only last 5 seconds is logged",
"cache.updates"
=> "Updates|Cache Updates",
"cache.skips"
=> "Skips|Skips. Skip=updates are needed but skipped for some reason. e.g.: other process/thread is busy compiling on this cache",
"cache.ooms"
=> "OOMs|Out Of Memory, how many times a new item should be stored but there isn't enough memory in the cache, think of increasing the xcache.size or xcache.var_size",
"cache.errors"
=> "Errs|Compiler errors, how many times your script(s) failed to be compiled by PHP. You should really check what is happening if you see this value increase. (See Help for more information)",
"cache.readonly_protected"
=> "Protected|Whether readonly_protection is available and enable on this cache (See help for more information)",
"cache.cached"
=> "Cached|Number of entries stored in this cache",
"cache.deleted"
=> "Deleted|Number of entries is pending in delete list (expired but referenced)",
"cache.gc_timer"
=> "GC|Seconds count down of Garbage Collection",
);
PK q�Z��� � cacher/lang/zh-traditional.ponu �[��� msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-08 14:41+0800\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: edit.tpl.php:8
#, php-format
msgid "Editing Variable %s"
msgstr "正在编辑变量 %s"
#: edit.tpl.php:13
#, php-format
msgid "Set %s in config to enable"
msgstr "請在配置文件中設置 %s 啟用本功能"
#: index.php:187 index.php:213
msgid "Total"
msgstr "总共"
#: index.php:263
msgid "Summary"
msgstr "簡要訊息"
#: index.php:264
msgid "List PHP"
msgstr "列出PHP"
#: index.php:265
msgid "List Var Data"
msgstr "列變數資料"
#: listentries.tpl.php:11
msgid "php Cached"
msgstr "快取的 PHP 指令"
#: listentries.tpl.php:11
msgid "var Cached"
msgstr "快取的變數"
#: listentries.tpl.php:15
msgid "php Deleted"
msgstr "待刪 PHP 指令快取"
#: listentries.tpl.php:15
msgid "var Deleted"
msgstr "待刪變數快取"
#: sub/entrylist.tpl.php:14
msgid "entry.id"
msgstr "Id|"
#: sub/entrylist.tpl.php:19
msgid "entry.remove"
msgstr "移除|"
#: sub/entrylist.tpl.php:24
msgid "entry.name"
msgstr "項目名稱/檔案名稱|項目名稱或者檔案名稱"
#: sub/entrylist.tpl.php:25
msgid "entry.hits"
msgstr "命中|該項目被命中的次數 (從共享記憶體區載入)"
#: sub/entrylist.tpl.php:26
msgid "entry.size"
msgstr "大小|項目在共享記憶體裡佔用位元數"
#: sub/entrylist.tpl.php:31
msgid "entry.refcount"
msgstr "引用數|項目依然被其他程序佔用的引用次數"
#: sub/entrylist.tpl.php:32
msgid "entry.phprefcount"
msgstr "共享|與本項目相同 PHP 內容的个數"
#: sub/entrylist.tpl.php:33
msgid "entry.class_cnt"
msgstr "类|类个数"
#: sub/entrylist.tpl.php:34
msgid "entry.function_cnt"
msgstr "函数|函数个数"
#: sub/entrylist.tpl.php:35
msgid "entry.file_size"
msgstr "源大小|原始檔案大小"
#: sub/entrylist.tpl.php:36
msgid "entry.file_mtime"
msgstr "修改|原始檔案最後修改時間"
#: sub/entrylist.tpl.php:39
msgid "entry.file_device"
msgstr "dev|原始檔案所在設備ID"
#: sub/entrylist.tpl.php:40
msgid "entry.file_inode"
msgstr "ino|原始檔案的inode"
#: sub/entrylist.tpl.php:44
msgid "entry.hash"
msgstr "Hash|Hash"
#: sub/entrylist.tpl.php:45
msgid "entry.atime"
msgstr "存取|最後存取該項目的時間"
#: sub/entrylist.tpl.php:46
msgid "entry.ctime"
msgstr "建立|該項目被建立於共享內的時間"
#: sub/entrylist.tpl.php:51
msgid "entry.delete"
msgstr "移除|該項目被移除於共享內的時間"
#: sub/entrylist.tpl.php:149
msgid "Remove Selected"
msgstr "移除所选"
#: sub/moduleinfo.tpl.php:1
msgid "Module Info"
msgstr "組元訊息"
#: sub/summary.tpl.php:3
msgid "Caches"
msgstr "快取"
#: sub/summary.tpl.php:6
msgid "cache.cache"
msgstr "快取|"
#: sub/summary.tpl.php:7
msgid "cache.slots"
msgstr "槽|Hash 槽個數,對應 php.ini 裡的設置"
#: sub/summary.tpl.php:8
msgid "cache.size"
msgstr "大小|共享記憶體區大小,單位:位元"
#: sub/summary.tpl.php:9
msgid "cache.avail"
msgstr "剩餘|可用記憶體,對應共享記憶體區的剩餘記憶體位元數"
#: sub/summary.tpl.php:10
msgid "cache.blocksgraph"
msgstr "百分比图|條狀顯示可用記憶體的比例"
#: sub/summary.tpl.php:11
msgid "cache.operations"
msgstr "操作|點擊按鈕清除對應共享記憶體區的資料"
#: sub/summary.tpl.php:12
msgid "cache.status"
msgstr ""
"狀態|狀態標記. 當共享內存區正在編譯 PHP 腳本時標記為 \"編譯中\". 當共享內存區"
"暫停使用時標記為 \"禁用\""
#: sub/summary.tpl.php:13
msgid "cache.hits"
msgstr "命中|共享記憶體命中次數,命中=從該共享記憶體載入 PHP 或者變數"
#: sub/summary.tpl.php:14
msgid "cache.hits_graph"
msgstr "24H 分布|24 小时命中分布图. 图表现是最后 24 小时的命中次数"
#: sub/summary.tpl.php:15
msgid "cache.hits_avg_h"
msgstr "命中/H|每小时命中次数. 只统计最后 24 小时"
#: sub/summary.tpl.php:16
msgid "cache.hits_avg_s"
msgstr "命中/S|每秒命中次数. 只统计最后 5 秒"
#: sub/summary.tpl.php:17
msgid "cache.updates"
msgstr "更新|共享記憶更新過次數"
#: sub/summary.tpl.php:18
msgid "cache.skips"
msgstr ""
"跳過|跳過更新次數,跳過=XCache 自動判斷阻塞的共享記憶體區自動跳過阻塞等待,直"
"接使用编译不存储方式繼續處理請求"
#: sub/summary.tpl.php:19
msgid "cache.ooms"
msgstr ""
"記憶體不足|記憶體不足次數,顯示需要儲存新資料但是共享記憶體區記憶體不足的次"
"數. 如果出現太頻繁請考慮加大配置中的 xcache.size 或者 xcache.var_size"
#: sub/summary.tpl.php:20
msgid "cache.errors"
msgstr ""
"错误|编译错误, 显示您的脚本被编译时出错的次数. 如果您发现这个数字不断增长, 您"
"应该检查什么脚本产生错误. 参考 說明 获取更多信息"
#: sub/summary.tpl.php:21
msgid "cache.readonly_protected"
msgstr "保护|顯示該 Cache 是否支援並啟用 readonly_protection. 参考 說明"
#: sub/summary.tpl.php:22
msgid "cache.cached"
msgstr "快取|共享記憶體於該共享記憶體區的項目個數"
#: sub/summary.tpl.php:23
msgid "cache.deleted"
msgstr "待刪|共享記憶體區內將要刪除的項目 (已經刪除但是還被某些程序佔用)"
#: sub/summary.tpl.php:24
msgid "cache.gc_timer"
msgstr "GC|垃圾回收的倒數計時"
#: sub/summary.tpl.php:30
msgid "Clear"
msgstr "清除"
#: sub/summary.tpl.php:31
msgid "Disabled"
msgstr "禁用"
#: sub/summary.tpl.php:32
msgid "Disable"
msgstr "禁用"
#: sub/summary.tpl.php:33
msgid "Enable"
msgstr "啟用"
#: sub/summary.tpl.php:34
msgid "Compiling"
msgstr "編譯中"
#: sub/summary.tpl.php:35
msgid "Normal"
msgstr "正常"
#: sub/summary.tpl.php:36 sub/testcoredump.tpl.php:3
msgid "Sure?"
msgstr "確認?"
#: sub/summary.tpl.php:132
msgid "Legends:"
msgstr "图例:"
#: sub/summary.tpl.php:134
msgid "% Free"
msgstr "% 剩余"
#: sub/summary.tpl.php:134
msgid "% Used"
msgstr "% 已用"
#: sub/summary.tpl.php:136
msgid "Free Blocks"
msgstr "未用块"
#: sub/summary.tpl.php:136
msgid "Used Blocks"
msgstr "已用块"
#: sub/summary.tpl.php:138
msgid "Hits"
msgstr "命中"
PK q�Z��Td d cacher/sub/moduleinfo.tpl.phpnu �[��� <h2><?php echo _T("Module Info"); ?></h2>
<div class="phpinfo"><?php echo getModuleInfo(); ?></div>
PK q�Z"��ּ � cacher/sub/testcoredump.tpl.phpnu �[��� <form method="post" action=""
><div
><input type="submit" name="coredump" value="Test coredump" class="submit" onclick="return confirm('<?php echo _T('Sure?'); ?>');"
/></div
></form>
PK q�Z�Al�
�
cacher/sub/entrylist.tpl.phpnu �[��� <?php $cycleClass = new Cycle('class="col1"', 'class="col2"'); ?>
<form action="" method="post">
<table cellspacing="0" cellpadding="4" class="cycles entries">
<caption><?php echo $caption; ?></caption>
<?php
echo <<<TR
<tr>
TR;
if ($isphp) {
echo
th(N_("entry.id"))
;
}
else {
echo
th(N_("entry.remove"))
;
}
echo
th(N_("entry.name"))
, th(N_("entry.hits"))
, th(N_("entry.size"))
;
if ($isphp) {
echo
th(N_("entry.refcount"))
, th(N_("entry.phprefcount"))
, th(N_("entry.class_cnt"))
, th(N_("entry.function_cnt"))
, th(N_("entry.file_size"))
, th(N_("entry.file_mtime"))
;
echo
th(N_("entry.file_device"))
, th(N_("entry.file_inode"))
;
}
echo
th(N_("entry.hash"))
, th(N_("entry.atime"))
, th(N_("entry.ctime"))
;
if ($listName == 'Deleted') {
echo
th(N_("entry.delete"))
;
}
?>
</tr>
<?php
foreach ($entries as $i => $entry) {
$class = $cycleClass->next();
echo <<<TR
<tr $class>
TR;
$hits = number_format($entry['hits']);
$size = size($entry['size']);
if ($isphp) {
$class_cnt = number_format($entry['class_cnt']);
$function_cnt = number_format($entry['function_cnt']);
$phprefcount = number_format($entry['phprefcount']);
$file_size = size($entry['file_size']);
}
if ($isphp) {
$file_mtime = age($entry['file_mtime']);
}
$ctime = age($entry['ctime']);
$atime = age($entry['atime']);
if ($listName == 'Deleted') {
$dtime = age($entry['dtime']);
}
if ($isphp) {
$hname = htmlspecialchars($entry['name']);
$namelink = $hname;
echo <<<ENTRY
<td>{$entry['cache_name']} {$i}</td>
ENTRY;
}
else {
$name = $entry['name'];
if (!empty($config['enable_eval'])) {
$name = var_export($name, true);
}
$uname = urlencode($name);
$hname = htmlspecialchars(str_replace("\0", "\\0", $entry['name']));
echo <<<ENTRY
<td><label><input type="checkbox" name="remove[]" value="{$hname}"/>{$entry['cache_name']} {$i}</label></td>
ENTRY;
$namelink = "<a href=\"edit.php?name=$uname\">$hname</a>";
}
echo <<<ENTRY
<td>{$namelink}</td>
<td align="right" int="{$entry['hits']}">{$entry['hits']}</td>
<td align="right" int="{$entry['size']}">{$size}</td>
ENTRY;
if ($isphp) {
$refcount = number_format($entry['refcount']);
echo <<<ENTRY
<td align="right" int="{$entry['refcount']}">{$entry['refcount']}</td>
<td align="right" int="{$entry['phprefcount']}">{$phprefcount}</td>
<td align="right" int="{$entry['class_cnt']}">{$class_cnt}</td>
<td align="right" int="{$entry['function_cnt']}">{$function_cnt}</td>
<td align="right" int="{$entry['file_size']}">{$file_size}</td>
<td align="right" int="{$entry['file_mtime']}">{$file_mtime}</td>
ENTRY;
if (isset($entry['file_inode'])) {
echo <<<ENTRY
<td align="right" int="{$entry['file_device']}">{$entry['file_device']}</td>
<td align="right" int="{$entry['file_inode']}">{$entry['file_inode']}</td>
ENTRY;
}
}
echo <<<ENTRY
<td align="right" int="{$entry['hvalue']}">{$entry['hvalue']}</td>
<td align="right" int="{$entry['atime']}">{$atime}</td>
<td align="right" int="{$entry['ctime']}">{$ctime}</td>
ENTRY;
if ($listName == 'Deleted') {
echo <<<ENTRY
<td align="right" int="{$entry['dtime']}">{$dtime}</td>
ENTRY;
}
echo <<<TR
</tr>
TR;
}
?>
</table>
<?php if (!$isphp && $listName != 'Deleted') { ?>
<input type="submit" value="<?php echo _T("Remove Selected"); ?>">
<?php } ?>
</form>
<?php
unset($cycleClass);
?>
PK q�Z�l�� � cacher/sub/summary.tpl.phpnu �[��� <?php $cycleClass = new Cycle('class="col1"', 'class="col2"'); ?>
<table cellspacing="0" cellpadding="4" class="cycles caches">
<caption><?php echo _T('Caches'); ?></caption>
<tr>
<?php echo
th(N_("cache.cache"))
, th(N_("cache.slots"))
, th(N_("cache.size"))
, th(N_("cache.avail"))
, th(N_("cache.blocksgraph"))
, th(N_("cache.operations"))
, th(N_("cache.status"))
, th(N_("cache.hits"))
, th(N_("cache.hits_graph"))
, th(N_("cache.hits_avg_h"))
, th(N_("cache.hits_avg_s"))
, th(N_("cache.updates"))
, th(N_("cache.skips"))
, th(N_("cache.ooms"))
, th(N_("cache.errors"))
, th(N_("cache.readonly_protected"))
, th(N_("cache.cached"))
, th(N_("cache.deleted"))
, th(N_("cache.gc_timer"))
;
?>
</tr>
<?php
$numkeys = explode(',', 'slots,size,avail,hits,updates,skips,ooms,errors,cached,deleted');
$l_clear = _T('Clear');
$l_disabled = _T('Disabled');
$l_disable = _T('Disable');
$l_enable = _T('Enable');
$l_compiling = _T('Compiling');
$l_normal = _T('Normal');
$l_confirm = _T('Sure?');
foreach (getCacheInfos() as $i => $ci) {
$class = $cycleClass->next();
echo <<<TR
<tr {$class}>
TR;
$pvalue = (int) ($ci['avail'] / $ci['size'] * 100);
$pempty = 100 - $pvalue;
if ($config['percent_graph_type'] == 'used') {
// swap
$tmp = $pvalue;
$pvalue = $pempty;
$pempty = $tmp;
}
$w = $config['percent_graph_width'] + 2;
if (empty($ci['istotal'])) {
$graph = freeblock_to_graph($ci['free_blocks'], $ci['size']);
$blocksgraph = "<div class=\"blocksgraph\" style=\"width: {$w}px\">{$graph}</div>";
}
else {
$blocksgraph = '';
}
$ci_slots = size($ci['slots']);
$ci_size = size($ci['size']);
$ci_avail = size($ci['avail']);
$ci = number_formats($ci, $numkeys);
$hits_avg_h = number_format(array_avg($ci['hits_by_hour']), 2);
$hits_avg_s = number_format(array_avg($ci['hits_by_second']), 2);
$hits_graph_h = get_cache_hits_graph($ci, 'hits_by_hour');
if (!empty($ci['istotal'])) {
$ci['status'] = '-';
$ci['can_readonly'] = '-';
}
else {
if ($ci['disabled']) {
$ci['status'] = $l_disabled
. sprintf("(%s)", age($ci['disabled']));
}
else if ($ci['type'] == XC_TYPE_PHP) {
$ci['status'] = $ci['compiling']
? $l_compiling . sprintf("(%s)", age($ci['compiling']))
: $l_normal;
}
else {
$ci['status'] = '-';
}
$ci['can_readonly'] = $ci['can_readonly'] ? 'yes' : 'no';
}
$enabledisable = $ci['disabled'] ? 'enable' : 'disable';
$l_enabledisable = $ci['disabled'] ? $l_enable : $l_disable;
echo <<<EOS
<th>{$ci['cache_name']}</th>
<td align="right" title="{$ci['slots']}">{$ci_slots}</td>
<td align="right" title="{$ci['size']}">{$ci_size}</td>
<td align="right" title="{$ci['avail']}">{$ci_avail}</td>
<td title="{$pvalue} %"
><div class="percent" style="width: {$w}px"
><div style="width: {$pvalue}%" class="pvalue"></div
><div style="width: {$pempty}%" class="pempty"></div
></div
>{$blocksgraph}</td>
<td
><form method="post" action=""
><div
><input type="hidden" name="type" value="{$ci['type']}"
/><input type="hidden" name="cacheid" value="{$ci['cacheid']}"
/><input type="submit" name="clearcache" value="{$l_clear}" class="submit" onclick="return confirm('{$l_confirm}');"
/><input type="submit" name="{$enabledisable}" value="{$l_enabledisable}" class="submit"
/></div
></form
></td>
<td>{$ci['status']}</td>
<td align="right">{$ci['hits']}</td>
<td>{$hits_graph_h}</td>
<td align="right">{$hits_avg_h}</td>
<td align="right">{$hits_avg_s}</td>
<td align="right">{$ci['updates']}</td>
<td align="right">{$ci['skips']}</td>
<td align="right">{$ci['ooms']}</td>
<td align="right">{$ci['errors']}</td>
<td>{$ci['can_readonly']}</td>
<td align="right">{$ci['cached']}</td>
<td align="right">{$ci['deleted']}</td>
<td align="right">{$ci['gc']}</td>
EOS;
?>
</tr>
<?php } ?>
</table>
<div class="blockarea legends">
<div class="legendtitle"><?php echo _T('Legends:'); ?></div>
<div class="legend pvalue"> </div>
<div class="legendtitle"><?php echo $config['percent_graph_type'] == 'free' ? _T('% Free') : _T('% Used'); ?></div>
<div class="legend" style="background: rgb(0,0,255)"> </div>
<div class="legendtitle"><?php echo $config['percent_graph_type'] == 'free' ? _T('Free Blocks') : _T('Used Blocks'); ?></div>
<div class="legend" style="background: rgb(255,0,0)"> </div>
<div class="legendtitle"><?php echo _T('Hits'); ?></div>
</div>
<?php unset($cycleClass); ?>
PK q�Z k��� � cacher/config.default.phpnu �[��� <?php
// [default config]
// DO NOT rename/delete/modify this file which will be overwritten when upgrade
// See config.example.php instead
// width of graph for free or usage blocks
$config['percent_graph_width'] = 120;
$config['percent_graph_type'] = 'used'; // either 'used' or 'free'
// only enable if you have password protection for admin page
// enabling this option will cause user to eval() whatever code they want
$config['enable_eval'] = false;
PK q�Z֝,�� � cacher/index.phpnu �[��� <?php
include "./common.php";
function freeblock_to_graph($freeblocks, $size) // {{{
{
global $config;
// cached in static variable
static $graph_initial;
if (!isset($graph_initial)) {
$graph_initial = array_fill(0, $config['percent_graph_width'], 0);
}
$graph = $graph_initial;
foreach ($freeblocks as $b) {
$begin = $b['offset'] / $size * $config['percent_graph_width'];
$end = ($b['offset'] + $b['size']) / $size * $config['percent_graph_width'];
if ((int) $begin == (int) $end) {
$v = $end - $begin;
$graph[(int) $v] += $v - (int) $v;
}
else {
$graph[(int) $begin] += 1 - ($begin - (int) $begin);
$graph[(int) $end] += $end - (int) $end;
for ($i = (int) $begin + 1, $e = (int) $end; $i < $e; $i ++) {
$graph[$i] += 1;
}
}
}
$html = array();
$c = 255;
foreach ($graph as $k => $v) {
if ($config['percent_graph_type'] != 'free') {
$v = 1 - $v;
}
$v = (int) ($v * $c);
$r = $g = $c - $v;
$b = $c;
$html[] = '<div style="background: rgb(' . "$r,$g,$b" . ')"></div>';
}
return implode('', $html);
}
// }}}
function calc_total(&$total, $data) // {{{
{
foreach ($data as $k => $v) {
switch ($k) {
case 'type':
case 'cache_name':
case 'cacheid':
case 'free_blocks':
continue 2;
}
if (!isset($total[$k])) {
$total[$k] = $v;
}
else {
switch ($k) {
case 'hits_by_hour':
case 'hits_by_second':
foreach ($data[$k] as $kk => $vv) {
$total[$k][$kk] += $vv;
}
break;
default:
$total[$k] += $v;
}
}
}
}
// }}}
function array_avg($a) // {{{
{
if (count($a) == 0) {
return '';
}
return array_sum($a) / count($a);
}
// }}}
function bar_hits_percent($v, $percent, $active) // {{{
{
$r = 220 + (int) ($percent * 25);
$g = $b = 220 - (int) ($percent * 220);
$percent = (int) ($percent * 100);
$a = $active ? ' class="active"' : '';
$height = 20 - 1 * 2;
$valueHeight = ceil($height * $percent / 100);
$paddingHeight = $height - $valueHeight;
$valueHeight = $valueHeight ? $valueHeight . "px" : 0;
$paddingHeight = $paddingHeight ? $paddingHeight . "px" : 0;
return '<a title="' . $v . '" href="javascript:;"' . $a . '>'
. ($paddingHeight ? '<span style="height: ' . $paddingHeight . '"></span>' : '')
. ($valueHeight ? '<span style="background: rgb(' . "$r,$g,$b" . '); height: ' . $valueHeight . '"></span>' : '')
. '</a>';
}
// }}}
function get_cache_hits_graph($ci, $key) // {{{
{
global $maxHitsByHour;
if ($ci['cacheid'] == -1) {
$max = max($ci[$key]);
}
else {
$max = $maxHitsByHour[$ci['type']];
}
if (!$max) {
$max = 1;
}
$t = (time() / (60 * 60)) % 24;
$html = array();
$width = count($ci[$key]) * 2;
$html[] = '<div class="hitsgraph" style="width: ' . $width . 'px">';
foreach ($ci[$key] as $i => $v) {
$html[] = bar_hits_percent($v, $v / $max, $i == $t);
}
$html[] = "</div>";
return implode('', $html);
}
// }}}
function getModuleInfo() // {{{
{
ob_start();
phpinfo(INFO_MODULES);
$moduleInfo = ob_get_clean();
if (!preg_match_all('!(XCache[^<>]*)</a></h2>(.*?)<h2>!is', $moduleInfo, $m)) {
return;
}
$moduleInfo = array();
foreach ($m[1] as $i => $dummy) {
$caption = trim($m[1][$i]);
$info = str_replace('<br />', '', trim($m[2][$i]));
$regex = '!<table[^>]*>!';
if (preg_match($regex, $info)) {
$moduleInfo[] = preg_replace($regex, "\\0<caption>$caption</caption>", $info, 1);
}
else {
$moduleInfo[] = "<h3>$caption</h3>";
$moduleInfo[] = $info;
}
}
$moduleInfo = implode('', $moduleInfo);
if (ini_get("xcache.test")) {
ob_start();
include "./sub/testcoredump.tpl.php";
$test_coredump = trim(ob_get_clean());
$moduleInfo = str_replace('xcache.coredump_directory', 'xcache.coredump_directory' . $test_coredump, $moduleInfo);
}
return $moduleInfo;
}
// }}}
function getCacheInfos() // {{{
{
static $cacheInfos;
if (isset($cacheInfos)) {
return $cacheInfos;
}
$phpCacheCount = xcache_count(XC_TYPE_PHP);
$varCacheCount = xcache_count(XC_TYPE_VAR);
$cacheInfos = array();
$total = array();
global $maxHitsByHour;
$maxHitsByHour = array(0, 0);
for ($i = 0; $i < $phpCacheCount; $i ++) {
$data = xcache_info(XC_TYPE_PHP, $i);
if ($_GET['do'] === 'listphp') {
$data += xcache_list(XC_TYPE_PHP, $i);
}
$data['type'] = XC_TYPE_PHP;
$data['cache_name'] = "php#$i";
$data['cacheid'] = $i;
$cacheInfos[] = $data;
$maxHitsByHour[XC_TYPE_PHP] = max($maxHitsByHour[XC_TYPE_PHP], max($data['hits_by_hour']));
if ($phpCacheCount >= 2) {
calc_total($total, $data);
}
}
if ($phpCacheCount >= 2) {
$total['type'] = XC_TYPE_PHP;
$total['cache_name'] = _T('Total');
$total['cacheid'] = -1;
$total['gc'] = null;
$total['istotal'] = true;
unset($total['compiling']);
$cacheInfos[] = $total;
}
$total = array();
for ($i = 0; $i < $varCacheCount; $i ++) {
$data = xcache_info(XC_TYPE_VAR, $i);
if ($_GET['do'] === 'listvar') {
$data += xcache_list(XC_TYPE_VAR, $i);
}
$data['type'] = XC_TYPE_VAR;
$data['cache_name'] = "var#$i";
$data['cacheid'] = $i;
$cacheInfos[] = $data;
$maxHitsByHour[XC_TYPE_VAR] = max($maxHitsByHour[XC_TYPE_VAR], max($data['hits_by_hour']));
if ($varCacheCount >= 2) {
calc_total($total, $data);
}
}
if ($varCacheCount >= 2) {
$total['type'] = XC_TYPE_VAR;
$total['cache_name'] = _T('Total');
$total['cacheid'] = -1;
$total['gc'] = null;
$total['istotal'] = true;
$cacheInfos[] = $total;
}
return $cacheInfos;
}
// }}}
function getEntryList() // {{{
{
static $entryList;
if (isset($entryList)) {
return $entryList;
}
$entryList = array('cache_list' => array(), 'deleted_list' => array());
if ($_GET['do'] == 'listphp') {
$entryList['type'] = XC_TYPE_PHP;
}
else {
$entryList['type'] = XC_TYPE_VAR;
}
foreach (getCacheInfos() as $i => $c) {
if (!empty($c['istotal'])) {
continue;
}
if ($c['type'] == $entryList['type'] && isset($c['cache_list'])) {
foreach ($c['cache_list'] as $e) {
$e['cache_name'] = $c['cache_name'];
$entryList['cache_list'][] = $e;
}
foreach ($c['deleted_list'] as $e) {
$e['cache_name'] = $c['cache_name'];
$entryList['deleted_list'][] = $e;
}
}
}
return $entryList;
}
// }}}
if (!extension_loaded('XCache')) {
header("Location: ../diagnosis");
exit;
}
xcache_count(XC_TYPE_PHP); // trigger auth
xcache_admin_namespace();
$doTypes = array(
'' => _T('Summary'),
'listphp' => _T('List PHP'),
'listvar' => _T('List Var Data'),
);
function processPOST() // {{{
{
if (isset($_POST['remove']) && is_array($_POST['remove'])) {
foreach ($_POST['remove'] as $name) {
if (is_string($name)) {
xcache_unset($name);
}
}
}
$type = isset($_POST['type']) ? $_POST['type'] : null;
if ($type != XC_TYPE_PHP && $type != XC_TYPE_VAR) {
$type = null;
}
if (isset($type)) {
$cacheid = (int) (isset($_POST['cacheid']) ? $_POST['cacheid'] : 0);
if (isset($_POST['clearcache'])) {
xcache_clear_cache($type, $cacheid);
}
if (isset($_POST['enable'])) {
xcache_enable_cache($type, $cacheid);
}
if (isset($_POST['disable'])) {
xcache_enable_cache($type, $cacheid, false);
}
}
if (isset($_POST['coredump'])) {
xcache_coredump();
}
}
// }}}
processPOST();
if (!isset($_GET['do'])) {
$_GET['do'] = '';
}
switch ($_GET['do']) {
case 'listphp':
case 'listvar':
include "./listentries.tpl.php";
break;
default:
include "./summary.tpl.php";
break;
}
?>
PK q�Z6-Qr cacher/mkpassword.phpnu �[��� <?php
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
?>
<html>
<head>
<title>Simple MD5 password generator</title>
<style stype="text/css">
code pre { display: block; border: 1px dashed black; padding: 10px; }
</style>
</head>
<body>
<h1>Simple MD5 password generator</h1>
<form method="post">
<fieldset>
Name:<br />
<input type="text" name="username"><br />
Password:<br />
<input type="password" name="password"><br />
<input type="submit"><br />
The INI settings you need is:
<code>
<pre><?php
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$md5 = md5(@ $_POST['password']);
$offs = mt_rand(0 + 1, 31 - 1);
$md5_1 = substr($md5, 0, $offs);
$md5_2 = substr($md5, $offs);
$username = htmlspecialchars($_POST['username']);
echo "xcache.admin.user=\"$username\"\n";
echo "xcache.admin.pass=\"<span>$md5_1</span><span>$md5_2</span>\"\n";
}
?></pre>
</code>
</fieldset>
</form>
</body>
</html>
PK q�Z"{�� � cacher/edit.tpl.phpnu �[��� <?php include "../common/header.tpl.php"; ?>
<?php
$h_name = htmlspecialchars(var_export($name, true));
$h_value = htmlspecialchars($value);
?>
<form method="post" action="">
<fieldset>
<legend><?php echo sprintf(_T("Editing Variable %s"), $h_name); ?></legend>
<textarea name="value" style="width: 100%; height: 200px; overflow-y: auto" <?php echo $editable ? "" : "disabled=disabled"; ?>><?php echo $h_value; ?></textarea><br>
<input type="submit" <?php echo $editable ? "" : "disabled=disabled"; ?>>
<?php
if (!$editable) {
echo sprintf(_T("Set %s in config to enable"), "\$config['enable_eval'] = true");
}
?>
</fieldset>
</form>
<?php include "../common/footer.tpl.php"; ?>
PK q�Z�]�; cacher/edit.phpnu �[��� <?php
include "./common.php";
if (!isset($_GET['name'])) {
die("missing name");
}
// trigger auth
$vcnt = xcache_count(XC_TYPE_VAR);
xcache_admin_namespace();
$name = $_GET['name'];
if (!empty($config['enable_eval'])) {
eval('$name = ' . $name . ';');
}
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
if (!empty($config['enable_eval'])) {
eval('$value = ' . $_POST['value'] . ';');
}
else {
$value = $_POST['value'];
}
xcache_set($name, $value);
header("Location: ./?do=listvar");
exit;
}
$value = xcache_get($name);
if (!empty($config['enable_eval'])) {
$value = var_export($value, true);
$editable = true;
}
else {
if (is_string($value)) {
$editable = true;
}
else {
$editable = false;
$value = var_export($value, true);
}
}
include "edit.tpl.php";
?>
PK q�Z�z�g g cacher/common.phpnu �[��� <?php
require_once "../common/common.php";
include get_language_file("./lang");
$module = "cacher";
PK q�Z��Gҵ � cacher/cacher.cssnu �[��� td, th { white-space: pre; }
.percent { height: 3px; margin-bottom: 1px; border: 1px solid gray; }
.percent div { float: left; height: 100%; }
.pvalue { background: limegreen; }
.blocksgraph { height: 13px; }
.blocksgraph div { float: left; height: 3px; width: 4px; border: 0 solid gray; border-width: 0 0 1px 0; }
.blocksgraph { border: 1px solid gray; border-bottom: 0; }
.percent *, .blocksgraph *, .hitsgraph * { font-size: 1px; line-height: 1px; }
.hitsgraph { margin: auto; }
.hitsgraph a { display: block; float: left; border: 0 solid gray; }
.hitsgraph a { width: 2px; height: 20px; border-top-width: 1px; border-bottom-width: 1px; } /* update this along with index.php */
.hitsgraph a * { display: block; }
.hitsgraph a.active { border-top-color: yellow; }
.hitsgraph a:hover { background: gray; }
dl { overflow: hidden; }
dt { font-weight: bold; clear: both; float: left; width: 100px; text-align: right; margin: 0; }
dd { margin: 0; }
.blockarea { overflow: hidden; width: 400px; }
.legends { padding-bottom: 8px; }
div.legend { float: left; border: 1px solid gray; font: 12px/12px monospace; }
div.legendtitle { float: left; padding: 2px; padding-right: 10px; font: 12px/12px monospace; }
PK r�Zb �� � cacher/summary.tpl.phpnu �[��� <?php include "../common/header.tpl.php"; ?>
<div class="switcher"><?php echo switcher("do", $doTypes); ?></div>
<?php include "./sub/summary.tpl.php"; ?>
<?php include "./sub/moduleinfo.tpl.php"; ?>
<?php include "../common/footer.tpl.php"; ?>
PK r�Z6�|f� � cacher/listentries.tpl.phpnu �[��� <?php include "../common/header.tpl.php"; ?>
<div class="switcher"><?php echo switcher("do", $doTypes); ?></div>
<?php include "./sub/summary.tpl.php"; ?>
<?php
$entryList = getEntryList();
$isphp = $entryList['type'] == XC_TYPE_PHP;
ob_start($config['path_nicer']);
$listName = 'Cached';
$entries = $entryList['cache_list'];
$caption = $isphp ? _T("php Cached") : _T("var Cached");
include "./sub/entrylist.tpl.php";
$listName = 'Deleted';
$caption = $isphp ? _T("php Deleted") : _T("var Deleted");
$entries = $entryList['deleted_list'];
include "./sub/entrylist.tpl.php";
ob_end_flush();
unset($isphp);
?>
<?php include "../common/footer.tpl.php"; ?>
PK r�Z���k� � config.default.phpnu �[��� <?php
// [default config]
// DO NOT rename/delete/modify this file which will be overwritten when upgrade
// See config.example.php instead
// detected by browser
// $config['lang'] = 'en-us';
$config['charset'] = "UTF-8";
// translators only
$config['show_todo_strings'] = false;
// this ob filter function is applied for the list with paths, not the whole page
$config['path_nicer'] = 'ob_filter_path_nicer_default';
PK r�Z���( ( diagnosis/lang/en.ponu �[��� msgid ""
msgstr ""
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-07-08 14:41+0800\n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: diagnosis.tpl.php:4
msgid "Diagnosis Result"
msgstr ""
#: diagnosis.tpl.php:8
msgid "Item"
msgstr ""
#: diagnosis.tpl.php:11
msgid "Level"
msgstr ""
#: diagnosis.tpl.php:14
msgid "Result"
msgstr ""
#: diagnosis.tpl.php:17
msgid "Explanation/Suggestion"
msgstr ""
#: index.php:77
msgid "XCache extension"
msgstr ""
#: index.php:81
#, php-format
msgid "Add extension=xcache.so (or xcache.dll) in %s"
msgstr ""
#: index.php:84
#, php-format
msgid ""
"Please put a php.ini in %s and add extension=xcache.so (or xcache.dll) in it"
msgstr ""
#: index.php:87
msgid "Cannot detect php.ini location"
msgstr ""
#: index.php:89
msgid "(See above)"
msgstr ""
#: index.php:90
msgid "Not loaded"
msgstr ""
#: index.php:90 index.php:129 index.php:135 index.php:290 index.php:308
#: index.php:373 index.php:405 index.php:408
msgid "error"
msgstr ""
#: index.php:93
msgid "Loaded"
msgstr ""
#: index.php:93 index.php:141 index.php:158 index.php:175 index.php:189
#: index.php:200 index.php:216 index.php:252 index.php:269 index.php:278
#: index.php:296 index.php:314 index.php:337 index.php:352 index.php:378
#: index.php:385 index.php:392 index.php:399 index.php:413
msgid "info"
msgstr ""
#: index.php:124
msgid "Enabling PHP Cacher"
msgstr ""
#: index.php:126 index.php:146 index.php:149 index.php:163 index.php:166
#: index.php:180 index.php:207 index.php:221 index.php:258 index.php:275
#: index.php:305 index.php:323 index.php:343
msgid "skipped"
msgstr ""
#: index.php:130 index.php:184 index.php:279
msgid "Not enabled"
msgstr ""
#: index.php:131
msgid ""
"Your PHP pages is not accelerated by XCache. Set xcache.size to non-zero, "
"set xcache.cacher = On"
msgstr ""
#: index.php:136
msgid "No php script cached"
msgstr ""
#: index.php:137
msgid "Your PHP pages is not accelerated by XCache. Set xcache.cacher = On"
msgstr ""
#: index.php:141 index.php:189 index.php:297 index.php:315 index.php:347
msgid "Enabled"
msgstr ""
#: index.php:144
msgid "PHP Compile Time Error"
msgstr ""
#: index.php:152 index.php:169 index.php:183 index.php:193 index.php:210
#: index.php:238 index.php:246 index.php:261 index.php:329 index.php:346
msgid "warning"
msgstr ""
#: index.php:153
msgid "Error happened when compiling one or some of your PHP code"
msgstr ""
#: index.php:154
msgid ""
"PHP code failed to be compiled cannot be cached. This usually means there "
"was syntax error in your PHP code. Enable PHP error_log to see what parser "
"error is it, fix your code. This warning won't go away until PHP is restarted"
msgstr ""
#: index.php:158
msgid "No error happened"
msgstr ""
#: index.php:161
msgid "Busy Compiling"
msgstr ""
#: index.php:170
msgid "Cache marked as busy for compiling"
msgstr ""
#: index.php:171
msgid ""
"It's ok if this status don't stay for long. Otherwise, it could be a sign of "
"PHP crash/coredump, report to XCache devs"
msgstr ""
#: index.php:175 index.php:269 index.php:337
msgid "Idle"
msgstr ""
#: index.php:178
msgid "Enabling VAR Cacher"
msgstr ""
#: index.php:185
msgid ""
"PHP code that use XCache caching backend have to use other caching backend "
"instead. Set xcache.var_size to non-zero if you have any PHP code that can "
"use XCache Data Caching API"
msgstr ""
#: index.php:191
msgid "Using VAR Cacher"
msgstr ""
#: index.php:194
msgid "No variable data cached"
msgstr ""
#: index.php:195
msgid ""
"Var Cacher won't work simply by enabling it. PHP code must call XCache APIs "
"like xcache_set() to use it as cache backend. 3rd party web apps may come "
"with XCache support, config it to use XCache as caching backend"
msgstr ""
#: index.php:200
msgid "Cache in use"
msgstr ""
#: index.php:205
msgid "Cache Size"
msgstr ""
#: index.php:211
msgid "Out of memory happened when trying to write to cache"
msgstr ""
#: index.php:212
msgid "Increase xcache.size and/or xcache.var_size"
msgstr ""
#: index.php:216
msgid "Enough"
msgstr ""
#: index.php:219
msgid "Hash Slots"
msgstr ""
#: index.php:239
msgid "Slots value too big"
msgstr ""
#: index.php:240
#, php-format
msgid ""
"A very small value is set to %s value and leave %s value is too big.\n"
"Decrease %s if small cache is really what you want"
msgstr ""
#: index.php:247
msgid "Slots value too small"
msgstr ""
#: index.php:248
#, php-format
msgid "So many item are cached. Increase %s to a more proper value"
msgstr ""
#: index.php:252 index.php:378 index.php:399 index.php:413
msgid "Looks good"
msgstr ""
#: index.php:256
msgid "Cache Status"
msgstr ""
#: index.php:262
msgid "At least one of the caches is disabled. "
msgstr ""
#: index.php:263
msgid "Enable the cache."
msgstr ""
#: index.php:264
msgid ""
"It was disabled by PHP crash/coredump handler or you disabled it manually."
msgstr ""
#: index.php:264
msgid "You disabled it manually."
msgstr ""
#: index.php:265
msgid "If it was caused by PHP crash/coredump, report to XCache devs"
msgstr ""
#: index.php:273
msgid "Coredump Directory"
msgstr ""
#: index.php:280
msgid ""
"Enable coredump to save debugging information in case when PHP crash. It can "
"also be enabled in other module like php-fpm beside XCache"
msgstr ""
#: index.php:291
msgid "Core files found:\n"
msgstr ""
#: index.php:292
msgid ""
"Disable XCache PHP Cacher (set xcache.size=0), remove the core file(s), then "
"restart PHP. If core file appears again, report call stack backtrace in the "
"core to XCache devs"
msgstr ""
#: index.php:298
#, php-format
msgid "You can see core files if PHP crash in %s if PHP crash"
msgstr ""
#: index.php:303
msgid "Readonly Protection"
msgstr ""
#: index.php:309
msgid "Set to enabled but not available"
msgstr ""
#: index.php:310
msgid "Use xcache.mmap_path other than /dev/zero"
msgstr ""
#: index.php:315 index.php:352
msgid "Disabled"
msgstr ""
#: index.php:316
msgid ""
"Enable readonly_protection == --performance & ++stability. Disable "
"readonly_protection == ++performance & --stability"
msgstr ""
#: index.php:321
msgid "XCache modules"
msgstr ""
#: index.php:331
msgid ""
"Acceptable. Module(s) listed are built into XCache but not for production "
"server.\n"
"Leave it as is if you're feeling good.\n"
"Re-configure XCache with the module(s) disabled if you're strict with server "
"security."
msgstr ""
#: index.php:341
msgid "XCache test setting"
msgstr ""
#: index.php:348
msgid "xcache.test is for testing only, not for server. set it to off"
msgstr ""
#: index.php:355
msgid "PHP Version"
msgstr ""
#: index.php:374
msgid "The version of PHP you're using is known to be unstable: "
msgstr ""
#: index.php:375
msgid "Upgrade to new version of PHP"
msgstr ""
#: index.php:381
msgid "Extension Compatibility"
msgstr ""
#: index.php:386
msgid "Zend Optimizer loaded"
msgstr ""
#: index.php:387
msgid ""
"Optimizer feature of 'Zend Optimizer' is disabled by XCache due to "
"compatibility reason; the Loader of it is still available, encoded files are "
"still supported"
msgstr ""
#: index.php:393
msgid "the ionCube PHP Loader loaded"
msgstr ""
#: index.php:394
msgid ""
"Compatibility with this the ionCube PHp Loader' is taken care of; But in "
"case if there's any problem, report to ionCube team and/or XCache devs"
msgstr ""
#: index.php:402
msgid "SAPI Compatibility"
msgstr ""
#: index.php:405
msgid "CGI is not supported"
msgstr ""
#: index.php:405
msgid "Use FastCGI or FPM instead"
msgstr ""
#: index.php:410
msgid ""
"PHP_FCGI_CHILDREN should be >= 1 and use 1 group of parent/childs model. See "
"http://xcache.lighttpd.net/wiki/Faq"
msgstr ""
PK r�Z�W\�� � diagnosis/lang/zh-simplified.phpnu �[��� <?php
// auto generated, do not modify
$strings += array(
"Diagnosis Result"
=> "诊断结果",
"Item"
=> "项目",
"Level"
=> "级别",
"Result"
=> "结果",
"Explanation/Suggestion"
=> "解释/建议",
"XCache extension"
=> "XCache extension",
"Add extension=xcache.so (or xcache.dll) in %s"
=> "在 %s 增加 extension=xcache.so (或 xcache.dll)",
"Please put a php.ini in %s and add extension=xcache.so (or xcache.dll) in it"
=> "请在 %s 里放个 php.ini 并且在文件内写入 extension=xcache.so (或 xcache.dll)",
"Cannot detect php.ini location"
=> "无法检测 php.ini 位置",
"(See above)"
=> "(参见上面)",
"Not loaded"
=> "未载入",
"error"
=> "错误",
"Loaded"
=> "已载入",
"info"
=> "信息",
"Enabling PHP Cacher"
=> "启用 PHP 缓存器",
"skipped"
=> "跳过",
"Not enabled"
=> "尚未启用",
"Your PHP pages is not accelerated by XCache. Set xcache.size to non-zero, set xcache.cacher = On"
=> "XCache 并未对您的 PHP 网页起到加速作用. 设置 xcache.size 为非 0, 设置 xcache.cacher = On",
"No php script cached"
=> "未缓存任何 PHP 脚本",
"Your PHP pages is not accelerated by XCache. Set xcache.cacher = On"
=> "XCache 并未对您的 PHP 网页起到加速作用. 设置 xcache.cacher = On",
"Enabled"
=> "已启用",
"PHP Compile Time Error"
=> "PHP 编译时错误",
"warning"
=> "警告",
"Error happened when compiling one or some of your PHP code"
=> "至少在编译一个或多个您的 PHP 代码时发生编译错误",
"PHP code failed to be compiled cannot be cached. This usually means there was syntax error in your PHP code. Enable PHP error_log to see what parser error is it, fix your code. This warning won't go away until PHP is restarted"
=> "编译失败的 PHP 代码是无法缓存的. 这通常意味着您的 PHP 代码有语法错误. 请启用 error_log 调查具体错误原因并修复您的代码. 重启 PHP 前这个警告不会消失",
"No error happened"
=> "未发生过错误",
"Busy Compiling"
=> "忙着编译",
"Cache marked as busy for compiling"
=> "编译中, 缓存标记为忙",
"It's ok if this status don't stay for long. Otherwise, it could be a sign of PHP crash/coredump, report to XCache devs"
=> "这个状态如果持续不就则无影响. 否则可能标志着 PHP 曾经发生异常退出, 如果是的话请报告给 XCache 开发组",
"Idle"
=> "空闲",
"Enabling VAR Cacher"
=> "启用 VAR 缓存器",
"PHP code that use XCache caching backend have to use other caching backend instead. Set xcache.var_size to non-zero if you have any PHP code that can use XCache Data Caching API"
=> "支持使用 XCache 作为数据缓存器的 PHP 代码将不得不采用其他缓存器代替. 如果您有代码支持 XCache 缓存 API 的话, 您可以设置 xcache.var_size 为非 0",
"Using VAR Cacher"
=> "使用 VAR 缓存器",
"No variable data cached"
=> "未缓存任何变量数据",
"Var Cacher won't work simply by enabling it. PHP code must call XCache APIs like xcache_set() to use it as cache backend. 3rd party web apps may come with XCache support, config it to use XCache as caching backend"
=> "只启用变量数据缓存器并无法将其利用起来. 必须通过 PHP 代码去调用 XCache API 接口(如 xcache_set() 函数) 将 XCache 作为缓存器. 第三方网页软件可能带有 XCache 支持, 留意其中的设置启用 XCache 作为缓存器",
"Cache in use"
=> "缓存使用中",
"Cache Size"
=> "缓存大小",
"Out of memory happened when trying to write to cache"
=> "存入缓存时发生内存不足",
"Increase xcache.size and/or xcache.var_size"
=> "加大 xcache.size 或 xcache.var_size",
"Enough"
=> "充足",
"Hash Slots"
=> "哈希槽",
"Slots value too big"
=> "哈希槽设定太大",
"A very small value is set to %s value and leave %s value is too big.\nDecrease %s if small cache is really what you want"
=> "设置给 %s 的值很小, 却采用过大的 %s. 如果您的确想要配置占用很少内存的缓存器, 可减少 %s",
"Slots value too small"
=> "哈希槽设定太小",
"So many item are cached. Increase %s to a more proper value"
=> "相当多的项目缓存了. 请适量加大 %s",
"Looks good"
=> "看起来还行",
"Cache Status"
=> "缓存状态",
"At least one of the caches is disabled. "
=> "至少一个缓存器是禁止状态",
"Enable the cache."
=> "启用已禁止的缓存器.",
"It was disabled by PHP crash/coredump handler or you disabled it manually."
=> "可能是在 PHP 异常退出时自动标记为禁止了, 或者您手工禁止了",
"You disabled it manually."
=> "您手工禁止了",
"If it was caused by PHP crash/coredump, report to XCache devs"
=> "如果是由于 PHP 异常退出造成, 请报告给 XCache 开发组",
"Coredump Directory"
=> "Coredump 目录",
"Enable coredump to save debugging information in case when PHP crash. It can also be enabled in other module like php-fpm beside XCache"
=> "启用 coredump 设置. 这样万一发生 PHP 异常退出时可保存调试信息. 这个功能也可以在其他地方启用, 如 php-fpm",
"Core files found:\n"
=> "发现 core 文件:\n",
"Disable XCache PHP Cacher (set xcache.size=0), remove the core file(s), then restart PHP. If core file appears again, report call stack backtrace in the core to XCache devs"
=> "禁止 XCache 缓存器 (设置 xcache.size=0), 删除 Core 文件, 再重启 PHP. 如果不用 XCache 时不出现 Core, 请从 Core 中取得 call stack back trace 信息报告回 XCache 开发组",
"You can see core files if PHP crash in %s if PHP crash"
=> "如果 PHP 异常退出, 您可以在 %s 目录看到 Core 文件",
"Readonly Protection"
=> "只读保护",
"Set to enabled but not available"
=> "设置为启用, 但目前不可用",
"Use xcache.mmap_path other than /dev/zero"
=> "设置 xcache.mmap_path 使用 /dev/zero 以外的值",
"Disabled"
=> "已禁止",
"Enable readonly_protection == --performance & ++stability. Disable readonly_protection == ++performance & --stability"
=> "启用 readonly_protection == --性能 & ++稳定性. 禁用 readonly_protection == ++性能 & --稳定性",
"XCache modules"
=> "XCache 模块",
"Acceptable. Module(s) listed are built into XCache but not for production server.\nLeave it as is if you're feeling good.\nRe-configure XCache with the module(s) disabled if you're strict with server security."
=> "可接受. 以上列出的模块已编译入 XCache, 但这些模块并非用于产业服务器.\n如果您觉得没大碍, 就保持现状.\n如果您对稳定性/安全性要求极其严格, 建议重新编译 XCache 不启用这些模块\n",
"XCache test setting"
=> "XCache 测试设置",
"xcache.test is for testing only, not for server. set it to off"
=> "xcache.test 仅用于开发测试用, 不用于服务器. 将它设置为 off",
"PHP Version"
=> "PHP 版本",
"The version of PHP you're using is known to be unstable: "
=> "您所使用的 PHP 版本, 是众所周知的不稳定版本: ",
"Upgrade to new version of PHP"
=> "升级到更新的 PHP 版本",
"Extension Compatibility"
=> "Extension 兼容性",
"Zend Optimizer loaded"
=> "Zend Optimizer 载入了",
"Optimizer feature of 'Zend Optimizer' is disabled by XCache due to compatibility reason; the Loader of it is still available, encoded files are still supported"
=> "由于兼容性问题, 'Zend Optimizer' 的优化器已被 XCache 禁止; 其加载器依然可用, 可继续使用 Zend 加密的文件",
"SAPI Compatibility"
=> "Extension 兼容性",
"CGI is not supported"
=> "不支持 CGI",
"Use FastCGI or FPM instead"
=> "请改用 FastCGI 或者 FPM",
"PHP_FCGI_CHILDREN should be >= 1 and use 1 group of parent/childs model. See http://xcache.lighttpd.net/wiki/Faq"
=> "PHP_FCGI_CHILDREN 应该设为 >= 1 并且使用 1 组单父多子模型. 参见 http://xcache.lighttpd.net/wiki/Faq",
);
PK r�Z "