Better error message

This commit is contained in:
Laurent Destailleur 2011-02-05 15:51:28 +00:00
parent a108a2fef8
commit 6de0981bdf

View File

@ -145,7 +145,7 @@ if (! empty($number))
endif ;
}
else {
print 'Bad parameters in URL. Must be http://MYDOLIBARR/asterisk/wrapper.php?caller=99999&called=99999&login=xxxxx&password=xxxxx';
print 'Bad parameters in URL. Must be '.$_SERVER['PHP_SELF'].'?caller=99999&called=99999&login=xxxxx&password=xxxxx';
}
print '</html>'."\n";