aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/asterisk/asterisk_log.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/asterisk/asterisk_log.php b/config/asterisk/asterisk_log.php
index 42cf8e8b..8ff8475d 100644
--- a/config/asterisk/asterisk_log.php
+++ b/config/asterisk/asterisk_log.php
@@ -67,7 +67,7 @@ $break = Explode('/', $file);
$pfile = $break[count($break) - 1];
-if (file_exists($log) {
+if (file_exists($log)) {
if ($cmd == "trim") {
$trimres=shell_exec("tail -50 '$log' > /tmp/trimmed_asterisk.log && rm '$log' && mv /tmp/trimmed_asterisk.log '$log' && chown asterisk:asterisk '$log' && chmod g+w '$log'");
header( 'Location: asterisk_log.php?savemsg=Log+trimmed.') ;