In index.php, POST goes to auth.inc.php. Then, auth.inc.php does:
<?php
define('WC_BASE', dirname(__FILE__));
$ref=WC_BASE."/index.php";
if ($ref!=$_SERVER['SCRIPT_FILENAME']){
        header("Location: index.php");
}

at the beginning.
How it would be possible that /pages/mail/cyradm/index.php is equal
with /pages/mail/cyradm/auth.inc.php

In failed.php we have:
<?php
$ref=WC_BASE."/index.php";
if ($ref!=$_SERVER['SCRIPT_FILENAME']){
      header("Location: index.php");
}
which gives us syntax error (WC_BASE undefined).

Something ugly in web-cyradm project...
Sorry for my poor english
_______________________________________________
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

Reply via email to