require PHP to have support for flock()

This commit is contained in:
Andrew Dolgov
2023-02-25 19:30:41 +03:00
parent a2af3a6bb4
commit 4d825fa6a6
2 changed files with 12 additions and 11 deletions

View File

@@ -541,6 +541,10 @@ class Config {
array_push($errors, "PHP support for JSON is required, but was not found.");
}
if (!function_exists("flock")) {
array_push($errors, "PHP support for flock() function is required.");
}
if (!class_exists("PDO")) {
array_push($errors, "PHP support for PDO is required but was not found.");
}