Fix: bug #26695 : </body> error in eclipse

This commit is contained in:
Laurent Destailleur 2009-07-15 23:19:57 +00:00
parent 3a3384da0d
commit 049a5cf76a

View File

@ -18,7 +18,7 @@
/** /**
* \file htdocs/asterisk/wrapper.php * \file htdocs/asterisk/wrapper.php
* \brief File that is entry point to call Dolibarr WebServices * \brief File that is entry point to call an Asterisk server
* \version $Id$ * \version $Id$
* \remarks To be used, an Asterisk user must be created by adding this * \remarks To be used, an Asterisk user must be created by adding this
* in /etc/asterisk/manager.conf * in /etc/asterisk/manager.conf
@ -79,12 +79,12 @@ $prefix = $conf->global->ASTERISK_INDICATIF;
#Port #Port
$port = $conf->global->ASTERISK_PORT; $port = $conf->global->ASTERISK_PORT;
?>
<html> print '<html>'."\n";
<head> print '<head>'."\n";
<title>Asterisk redirection ...</title> print '<title>Asterisk redirection ...</title>'."\n";
</head> print '</head>'."\n";
<?php
$number=strtolower($called) ; $number=strtolower($called) ;
$pos=strpos ($number,"local"); $pos=strpos ($number,"local");
@ -125,6 +125,6 @@ if (! empty($number))
} }
endif ; endif ;
} }
?>
</body> print '</body>'."\n";
</html> print '</html>'."\n";