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