From de77645ca39ecd6b86bea62617ebf9081c07aea1 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Tue, 2 Dec 2014 21:13:16 -0600 Subject: fix imspector to use pbi paths. Breaks 2.0.x in process, don't care. --- config/imspector/imspector.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/imspector/imspector.inc b/config/imspector/imspector.inc index 2d672e87..89fbda2b 100644 --- a/config/imspector/imspector.inc +++ b/config/imspector/imspector.inc @@ -35,9 +35,8 @@ require_once("service-utils.inc"); /* IMSpector */ - define('IMSPECTOR_RCFILE', '/usr/local/etc/rc.d/imspector.sh'); - define('IMSPECTOR_ETC', '/usr/local/etc/imspector'); + define('IMSPECTOR_ETC', "/usr/pbi/imspector-" . php_uname("m") . "/local/etc/imspector"); define('IMSPECTOR_CONFIG', IMSPECTOR_ETC . '/imspector.conf'); function imspector_warn ($msg) { syslog(LOG_WARNING, "imspector: {$msg}"); } @@ -543,4 +542,4 @@ function imspector_do_xmlrpc_sync($sync_to_ip, $password) { } } -?> +?> \ No newline at end of file -- cgit v1.2.3