Update the indentation

This commit is contained in:
FusionPBX 2024-08-14 13:03:03 -06:00 committed by GitHub
parent 301fb2b974
commit 6600bbdfc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 114 additions and 107 deletions

View File

@ -550,21 +550,28 @@ function shutdown() {
if (class_exists('settings') && $settings instanceof settings) {
//temporary directory in default settings or use the system temp directory
$temp_dir = $settings->get('server', 'temp', sys_get_temp_dir());
} else {
}
else {
//settings is not available
$temp_dir = sys_get_temp_dir();
}
//open the file
$fp = fopen("$temp_dir/fax_to_email.log", "w");
//get the output from the buffer
$content = ob_get_contents();
//clean the buffer
ob_end_clean();
//write the contents of the buffer
fwrite($fp, $content);
//close the file pointer
fclose($fp);
} else {
}
else {
if ($debug_level > 2) {
var_dump($_REQUEST);
}