mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Create more documentation (#7627)
* Documentation, format class, no modification.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -37,6 +37,13 @@
|
||||
$pid_file = "/var/run/fusionpbx/".basename( $argv[0], ".php") .".pid";
|
||||
|
||||
//function to check if the process exists
|
||||
/**
|
||||
* Checks if a process with the specified PID file exists and is currently running.
|
||||
*
|
||||
* @param string $file The path to the PID file. Defaults to false, in which case the function will return whether any process exists.
|
||||
*
|
||||
* @return bool True if the process is running, false otherwise.
|
||||
*/
|
||||
function process_exists($file = false) {
|
||||
|
||||
//set the default exists to false
|
||||
|
||||
Reference in New Issue
Block a user