mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 14:20:31 +01:00
Detect funny path on CentOS x86
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
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;
|
||||
|
||||
@@ -3,7 +3,7 @@ squid_path=squid
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user