This commit is contained in:
2021-12-07 15:59:13 +08:00
parent 7935e6a6a3
commit f62014ff34
3 changed files with 1 additions and 6 deletions
-3
View File
@@ -51,9 +51,6 @@ class GiiModel extends GiiBase
$namespace = rtrim($modelPath['namespace'], '\\');
$prefix = str_replace('_', '', $this->db->tablePrefix);
$managerName = str_replace(ucfirst($prefix), '', $managerName);
if (file_exists($modelPath['path'] . '/' . $managerName . '.php')) {
try {
$className = str_replace('\\\\', '\\', "{$modelPath['namespace']}\\{$managerName}");