111
This commit is contained in:
@@ -68,7 +68,7 @@ class OnServerWorker extends \Server\Abstracts\Server
|
|||||||
if (!empty($serialize)) {
|
if (!empty($serialize)) {
|
||||||
Config::sets(unserialize($serialize));
|
Config::sets(unserialize($serialize));
|
||||||
}
|
}
|
||||||
|
if (env('enableFileChange', 'off') == 'off') {
|
||||||
$annotation = Kiri::app()->getAnnotation();
|
$annotation = Kiri::app()->getAnnotation();
|
||||||
$annotation->read(APP_PATH . 'app', 'App',
|
$annotation->read(APP_PATH . 'app', 'App',
|
||||||
$workerId < $server->setting['worker_num'] ? [] : [CONTROLLER_PATH]
|
$workerId < $server->setting['worker_num'] ? [] : [CONTROLLER_PATH]
|
||||||
@@ -76,6 +76,7 @@ class OnServerWorker extends \Server\Abstracts\Server
|
|||||||
$this->workerInitExecutor($server, $annotation, $workerId);
|
$this->workerInitExecutor($server, $annotation, $workerId);
|
||||||
$this->interpretDirectory($annotation);
|
$this->interpretDirectory($annotation);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user