Create more documentation (#7627)

* Documentation, format class, no modification.
This commit is contained in:
frytimo
2025-11-18 21:33:07 -04:00
committed by GitHub
parent e619c97ce6
commit adfc4cc469
104 changed files with 24461 additions and 21721 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -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