* finish task #6055.

This commit is contained in:
wangyidong
2019-07-04 13:40:37 +08:00
parent bdda1f889d
commit 402bda7579
21 changed files with 1268 additions and 4 deletions
+7
View File
@@ -22,6 +22,13 @@ class translate extends control
public function __construct($moduleName = '', $methodName = '')
{
parent::__construct($moduleName, $methodName);
$remoteIP = helper::getRemoteIp();
if($remoteIP != '127.0.0.1')
{
$this->app->loadLang('editor');
die("<html><head><meta chatset='utf-8'></head><body>{$this->lang->editor->onlyLocalVisit}</body></html>");
}
}
/**