Home
last modified time | relevance | path

Searched refs:lockFile (Results 1 – 2 of 2) sorted by relevance

/template/strap/ComboStrap/
DLock.php38 private string $lockFile; variable in ComboStrap\\Lock
60 $this->lockFile = $conf['lockdir'] . "/_{$this->lockName}.lock";
94 if (is_file($this->lockFile) && (time() - @filemtime($this->lockFile)) > 60 * 10) {
95 if (!@unlink($this->lockFile)) {
96 … throw new ExceptionRuntimeInternal("Removing the lock failed ($this->lockFile)");
101 …throw new ExceptionTimeOut("Unable to get the lock ($this->lockFile) for ($this->timeOut) seconds"…
106 chmod($this->lockFile, $this->perm);
156 if (file_exists($this->lockFile)) {
157 unlink($this->lockFile);
163 return !file_exists($this->lockFile);
[all …]
/template/strap/action/
Dlinkmove.php48 $lockFile = Site::getDataDirectory()->resolve("locks_plugin_move.lock");
49 if (!FileSystems::exists($lockFile)) {
52 $lockFileDateTimeModified = FileSystems::getModifiedTime($lockFile);
59 …LogUtility::msg("The move lockfile ($lockFile) exists and is older than 5 minutes (exactly $lockFi…