Better error message
This commit is contained in:
parent
a108a2fef8
commit
6de0981bdf
@ -145,7 +145,7 @@ if (! empty($number))
|
|||||||
endif ;
|
endif ;
|
||||||
}
|
}
|
||||||
else {
|
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";
|
print '</html>'."\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user