Use single quotes for the function_exists parameter.
This commit is contained in:
parent
694fa611ef
commit
6f6eb88ebb
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue