modify
This commit is contained in:
@@ -273,7 +273,7 @@ class Loader extends BaseObject
|
||||
$out_path = '';
|
||||
foreach ($directory as $key => $value) {
|
||||
$out_path .= DIRECTORY_SEPARATOR . $value;
|
||||
var_dump($out_path, $output);
|
||||
var_dump($out_path . '::' . $output);
|
||||
if ($out_path === $output) {
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ class OnWorkerStart extends Callback
|
||||
/** @var Loader $runtime */
|
||||
$runtime = unserialize(file_get_contents(storage('runtime.php')));
|
||||
$annotation->setLoader($runtime);
|
||||
|
||||
if ($worker_id >= $server->setting['worker_num']) {
|
||||
$annotation->instanceDirectoryFiles(MODEL_PATH);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user