syslog() mod actions

This commit is contained in:
Savetheinternet committed 2011-12-06 03:00:59 +11:00
1 parent fd0eaa672f
commit d454fc6423
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -598,7 +598,8 @@
}
_syslog(LOG_INFO, 'New post: /' . $board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], $OP?$id:$post['thread']) . (!$OP?'#'.$id:''));
if($config['syslog'])
_syslog(LOG_INFO, 'New post: /' . $board['dir'] . $config['dir']['res'] . sprintf($config['file_page'], $OP?$id:$post['thread']) . (!$OP?'#'.$id:''));
rebuildThemes('post');
header('Location: ' . $redirect, true, $config['redirect_http']);