update to 2.8.5, fix getClassesPsr4 .plain find error bug

This commit is contained in:
crazywhalecc 2022-12-24 01:04:08 +08:00
parent d12f0bf317
commit 64899a50c1
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ class ConsoleApplication extends Application
{
public const VERSION_ID = 478;
public const VERSION = '2.8.4';
public const VERSION = '2.8.5';
private static $obj;

View File

@ -103,7 +103,7 @@ class ZMUtil
/*if (substr(file_get_contents($dir . '/' . $v), 6, 6) == '#plain') {
continue;
}*/
if (file_exists($dir . '/' . $pathinfo['basename'] . '.plain')) {
if (file_exists($dir . '/' . $v . '.plain')) {
continue;
}
if (mb_substr($pathinfo['basename'], 0, 7) == 'global_' || mb_substr($pathinfo['basename'], 0, 7) == 'script_') {