require './squid-lib.pl';
$access{'cms'} || &error($text{'cach_ecannot'});
-$mgr = $config{'cachemgr_path'};
+($mgr) = glob($config{'cachemgr_path'});
&same_file($0, $mgr) && &error($text{'cach_esame'});
if (&has_command($mgr)) {
$| = 1;
cache_dir=/var/spool/squid
squid_conf=/etc/squid/squid.conf
pid_file=/var/run/squid.pid
-cachemgr_path=/usr/lib/squid/cachemgr.cgi
+cachemgr_path=/usr/*/squid/cachemgr.cgi
squid_start=/etc/rc.d/init.d/squid start
squid_stop=/etc/rc.d/init.d/squid stop
calamaris=calamaris