init admin

This commit is contained in:
2025-11-07 09:56:20 +08:00
commit d9d7ddc05d
2718 changed files with 665424 additions and 0 deletions
@@ -0,0 +1,13 @@
<?php
$common = require 'common.php';
$app = Request()->app;
$controller =get_controller_name();
$langs = [];
$fn= __DIR__.'/'.($app?$app.'/' : '').strtolower($controller).'.php';
if(file_exists($fn)){
$langs = require $fn;
if(!is_array( $langs)){
$langs = [];
}
}
return array_merge($common,$langs);