Use single quotes for the function_exists parameter.

This commit is contained in:
FusionPBX 2022-09-12 20:50:13 -06:00 committed by GitHub
parent 694fa611ef
commit 6f6eb88ebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
//check to see if the process is running
if (file_exists($file)) {
$pid = file_get_contents($file);
if (function_exists(posix_getsid)) {
if (function_exists('posix_getsid')) {
if (posix_getsid($pid) === false) {
//process is not running
$exists = false;