改名
This commit is contained in:
@@ -31,9 +31,7 @@ class OnWorkerStart extends Callback
|
|||||||
putenv('state=start');
|
putenv('state=start');
|
||||||
putenv('worker=' . $worker_id);
|
putenv('worker=' . $worker_id);
|
||||||
|
|
||||||
$open = fopen(storage('runtime.php'),'r');
|
$content = System::readFile(storage('runtime.php'));
|
||||||
$content = System::fread($open);
|
|
||||||
fclose($open);
|
|
||||||
|
|
||||||
$annotation = Snowflake::app()->getAnnotation();
|
$annotation = Snowflake::app()->getAnnotation();
|
||||||
$annotation->setLoader(unserialize($content));
|
$annotation->setLoader(unserialize($content));
|
||||||
|
|||||||
Reference in New Issue
Block a user