This commit is contained in:
王怡栋
2021-08-27 10:20:27 +08:00
parent 4cf1c0daa9
commit 0a9b1f42ac
10 changed files with 188 additions and 34 deletions
+2
View File
@@ -40,6 +40,8 @@ class executionModel extends model
*/
public function accessDenied()
{
if(defined('TUTORIAL')) return true;
echo(js::alert($this->lang->execution->accessDenied));
if(!$this->server->http_referer) die(js::locate(helper::createLink('execution', 'index')));