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