forked from SimplesIP/pabx-app
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
413 B
15 lines
413 B
<?php |
|
|
|
error_reporting(E_ERROR); |
|
ini_set('display_errors', CONF_LOG_DISPLAY_ACTIVE); |
|
ini_set("memory_limit", "512M"); |
|
|
|
$filename = CONF_LOG_PATH . CONF_LOG_DISPLAY_NAME; |
|
|
|
if (!file_exists($filename)) { |
|
file_put_contents($filename, ''); |
|
exec(" chown pbx:pbx {$filename}"); |
|
} |
|
ini_set('log_errors', CONF_LOG_DISPLAY_ACTIVE); |
|
ini_set('error_log', $filename); |
|
ini_set('log_errors_max_len', 4096); |