Alexander Skwar wrote:
> Why's web-cyradm not connecting to mysql?
Because there's something strange in auth.inc.php.
Right at the beginning, there's:
if ($ref!=$_SERVER['SCRIPT_FILENAME']){
header("Location: index.php");
}
When I print $ref and $_SERVER['SCRIPT_FILENAME'], I get:
SCRIPT_FILENAME=/var/www/localhost/htdocs/web-cyradm/auth.inc.php
ref=/var/www/localhost/htdocs/web-cyradm/index.php
Hm.
I don't get this. How's that supposed to work? Can
$ref ever have some other value than index.php? Or
rather, can it ever have the value auth.inc.php?
Alexander Skwar
--
You will be the victim of a bizarre joke.
_______________________________________________
This mailing list is hosted and supported
by bit-heads GmbH | http://www.bit-heads.ch
_______________________________________________
Web-cyradm mailing list
[email protected]
http://www.web-cyradm.org/mailman/listinfo/web-cyradm