Use readfile
This commit is contained in:
parent
8453699ed6
commit
a86fd4294a
@ -124,7 +124,7 @@ class ServiceController extends Zend_Controller_Action
|
||||
if (!headers_sent()) {
|
||||
header('Content-Type: text/xml');
|
||||
}
|
||||
echo file_get_contents($wsdlPath . '/' . $fichierWsdl);
|
||||
readfile($wsdlPath . '/' . $fichierWsdl);
|
||||
|
||||
}
|
||||
elseif ( isset($_GET['wsdl']) && !file_exists($wsdlPath . '/' . $fichierWsdl)
|
||||
@ -152,7 +152,7 @@ class ServiceController extends Zend_Controller_Action
|
||||
if ( !headers_sent() ) {
|
||||
header('Content-Type: text/xml');
|
||||
}
|
||||
echo file_get_contents($wsdlPath . '/' . $fichierWsdl);
|
||||
readfile($wsdlPath . '/' . $fichierWsdl);
|
||||
|
||||
// --- Envoi sur la sortie standard le wsdl sans enregistrement dans un fichier
|
||||
} elseif ( isset($_GET['wsdl-auto']) ){
|
||||
|
Loading…
Reference in New Issue
Block a user