改名
This commit is contained in:
@@ -47,8 +47,9 @@ class Shutdown extends Component
|
||||
public function shutdown(): void
|
||||
{
|
||||
clearstatcache(storage());
|
||||
exec('ls -alh /.dockerenv', $output, $cod);
|
||||
if ($cod === 0 && !empty($output)) {
|
||||
$output = shell_exec('ls -alh /.dockerenv');
|
||||
var_dump($output);
|
||||
if (!empty($output)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,8 +43,6 @@ class ServerInotify extends Process
|
||||
{
|
||||
set_error_handler([$this, 'onErrorHandler']);
|
||||
$this->dirs = Config::get('inotify', [APP_PATH]);
|
||||
|
||||
var_dump(extension_loaded('inotify'));
|
||||
if (extension_loaded('inotify')) {
|
||||
$this->inotify = inotify_init();
|
||||
$this->events = IN_MODIFY | IN_DELETE | IN_CREATE | IN_MOVE;
|
||||
|
||||
Reference in New Issue
Block a user