no message

This commit is contained in:
kuaifan
2024-01-15 21:22:14 +08:00
parent 2975a0eaf9
commit 569af135bd
4 changed files with 11 additions and 5 deletions

View File

@@ -37,9 +37,14 @@ class IndexController extends InvokeController
if ($action) {
$app .= "__" . $action;
}
if ($app === 'manifest.txt') {
$app = 'manifest';
$child = 'txt';
switch ($app) {
case 'manifest.txt':
$app = 'manifest';
$child = 'txt';
break;
case 'default':
return '';
}
if (!method_exists($this, $app)) {
$app = method_exists($this, $method) ? $method : 'main';