mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-14 16:02:14 +09:00
Disable rewrite level 2 if test request fails
This commit is contained in:
parent
dd561d9159
commit
8964891387
4 changed files with 35 additions and 1 deletions
|
|
@ -1007,7 +1007,16 @@ class adminAdminView extends admin
|
|||
Context::set('str_info', $str_info);
|
||||
$this->setTemplateFile('server_env.html');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Rewrite test
|
||||
*/
|
||||
public function dispAdminRewriteTest()
|
||||
{
|
||||
$test = intval(Context::get('test'));
|
||||
Context::setResponseMethod('JSON');
|
||||
$this->add('result', $test * 42);
|
||||
}
|
||||
}
|
||||
/* End of file admin.admin.view.php */
|
||||
/* Location: ./modules/admin/admin.admin.view.php */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue