"; printf(gettext("Invalid locale: %s"),$language); echo "
\n"; exit; } $domain = 'messages'; bindtextdomain($domain, "./locale"); textdomain($domain); include_once("style.php"); if (!isset($_GET['url'])) { echo "",gettext("No URL to block"),"
\n"; exit; } $url = $_GET['url']; function parse_config($line,$clave) { if (preg_match("/dbhome/i", $line)) { global $dbhome; $l = explode(' ', $line); list(, $dbhome) = $l; $dbhome=preg_replace('/\s+/','',$dbhome); } } $lines=file($squidGuardConf); array_walk($lines,'parse_config'); ?>$url")?> |
$file |
$file2 |
"; printf(gettext("No squidGuard rule found in %s"),$dbhome); echo "
\n"; } } else { echo ""; printf(gettext("Cannot read squidGuard DB home directory %s"),$dbhome); echo "
\n"; } } ?>