Fix undefined variable/wrong parameter count/unknown functions
This commit is contained in:
@@ -64,7 +64,7 @@ class Lock
|
||||
$file = $temp.'/'.$fn_name.'.sem';
|
||||
|
||||
if (!file_exists($file)) {
|
||||
file_put_contents($file, $function);
|
||||
file_put_contents($file, $fn_name);
|
||||
}
|
||||
|
||||
return ftok($file, 'f');
|
||||
|
||||
Reference in New Issue
Block a user