This commit is contained in:
2026-03-06 02:27:52 +08:00
parent f598cc8157
commit 70c4966aad
80 changed files with 796 additions and 1191 deletions
+4 -2
View File
@@ -1,6 +1,7 @@
<?php
$common = require 'common.php';
$app = Request()->app;
$request = Request();
$app = $request->app;
$controller =get_controller_name();
$langs = [];
$fn= __DIR__.'/'.($app?$app.'/' : '').strtolower($controller).'.php';
@@ -10,4 +11,5 @@ if(file_exists($fn)){
$langs = [];
}
}
return array_merge($common,$langs);
$res = array_merge($common,$langs);
return $res;