diff options
author | Phil Davis <phil.davis@inf.org> | 2014-05-11 16:34:30 -0700 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-05-11 16:34:30 -0700 |
commit | bbceec685f4b2a8e9f5caaadbd4c0c562f26eb8d (patch) | |
tree | b0dd2e899a864a29030b0639e83bd7e64f8c922f /usr/local/www/xmlrpc.php | |
parent | 2f650f35e65b54d9596a15c2daedc109cd2a8a97 (diff) | |
download | pfsense-bbceec685f4b2a8e9f5caaadbd4c0c562f26eb8d.zip pfsense-bbceec685f4b2a8e9f5caaadbd4c0c562f26eb8d.tar.gz |
Use function_exists test
Diffstat (limited to 'usr/local/www/xmlrpc.php')
-rwxr-xr-x | usr/local/www/xmlrpc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/xmlrpc.php b/usr/local/www/xmlrpc.php index 8445d8f..5c6fdba 100755 --- a/usr/local/www/xmlrpc.php +++ b/usr/local/www/xmlrpc.php @@ -484,7 +484,8 @@ function get_notices_xmlrpc($raw_params) { xmlrpc_authfail(); return $xmlrpc_g['return']['authfail']; } - require_once("notices.inc"); + if(!function_exists("get_notices")) + require("notices.inc"); if(!$params) { $toreturn = get_notices(); } else { |