Remove slash
This commit is contained in:
parent
25e55a11d5
commit
e4d7967133
@ -35,7 +35,7 @@ class Pieces extends WsScore
|
||||
if ( file_exists($filepdf) && date('Ymd', filemtime($filepdf))==date('Ymd') ) {
|
||||
|
||||
$this->wsLog('kbis', $siren, basename($filepdf));
|
||||
return $hostname.DOC_WEB_URL.'/kbis/'.basename($filepdf);
|
||||
return $hostname.DOC_WEB_URL.'kbis/'.basename($filepdf);
|
||||
|
||||
} else {
|
||||
|
||||
@ -56,7 +56,7 @@ class Pieces extends WsScore
|
||||
$result = end($result);
|
||||
if (substr($result,-5)=='.html')
|
||||
{
|
||||
$file = $path.'/kbis/'.date('Ymd').'/'.$result;
|
||||
$file = $path.'kbis/'.date('Ymd').'/'.$result;
|
||||
$this->wsLog('kbis', $siren, $result);
|
||||
}
|
||||
elseif ( $result!='ERREUR')
|
||||
@ -85,7 +85,7 @@ class Pieces extends WsScore
|
||||
if ( !file_exists($filepdf) ) {
|
||||
throw new SoapFault('0000',"Fichier PDF introuvable");
|
||||
}
|
||||
return $hostname.DOC_WEB_URL.'/kbis/'.basename($filepdf);
|
||||
return $hostname.DOC_WEB_URL.'kbis/'.basename($filepdf);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user