Use single quotes for the function_exists parameter.
This commit is contained in:
@@ -60,7 +60,7 @@
|
|||||||
//check to see if the process is running
|
//check to see if the process is running
|
||||||
if (file_exists($file)) {
|
if (file_exists($file)) {
|
||||||
$pid = file_get_contents($file);
|
$pid = file_get_contents($file);
|
||||||
if (function_exists(posix_getsid)) {
|
if (function_exists('posix_getsid')) {
|
||||||
if (posix_getsid($pid) === false) {
|
if (posix_getsid($pid) === false) {
|
||||||
//process is not running
|
//process is not running
|
||||||
$exists = false;
|
$exists = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user