uawdijnntqw1x1x1
IP : 216.73.217.142
Hostname : localhost.localdomain
Kernel : Linux localhost.localdomain 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
forum-e-syn
/
FUDforum
/
scripts
/
..
/
plugins
/
syslog.plugin
/
/
<?php /** * copyright : (C) 2001-2011 Advanced Internet Designs Inc. * email : forum@prohost.org * $Id: syslog.plugin 5770 2014-04-02 07:30:23Z naudefj $ * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; version 2 of the License. **/ // Initialize plugin. plugin_add_hook('LOGERR', 'plugin_syslog'); // Write forum errors to the system log. function plugin_syslog($error_msg) { if (defined('MAILED')) { return; // Prevent recursive mailing errors. } openlog('FUDforum', LOG_CONS, LOG_USER); syslog(LOG_ERR, preg_replace('/\<br(\s*)?\/?\>/i', "\n", $error_msg)); closelog(); fud_use('iemail.inc'); send_email($GLOBALS['NOTIFY_FROM'], $GLOBALS['ADMIN_EMAIL'], $GLOBALS['FORUM_TITLE'] .' message', $error_msg); define('MAILED', 1); return null; // Don't log to default error_log. } function syslog_info() { return array('name' => 'Syslog', 'desc' => 'Write errors to the system log instead of FUDforum\'s log file. This will typically be the <i>Event Log</i> on Windows systems or syslog (/var/log/messages file) on Linux/Unix systems.</p>', 'version' => '1.1'); }
/var/www/forum-e-syn/FUDforum/scripts/../plugins/syslog.plugin