Update the indentation
This commit is contained in:
parent
301fb2b974
commit
6600bbdfc6
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue