mirror of
https://github.com/YGGverse/Yo.git
synced 2025-01-30 00:14:54 +00:00
prevent multi-thread execution #5
This commit is contained in:
parent
2961045c76
commit
a499c363f6
@ -1,5 +1,8 @@
|
||||
<?php
|
||||
|
||||
// Prevent multi-thread execution
|
||||
$semaphore = sem_get(crc32('yo.cli.document.clean'), 1);
|
||||
|
||||
// Load dependencies
|
||||
require_once __DIR__ . '/../../../vendor/autoload.php';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user