Merge
This commit is contained in:
commit
e738e3b13d
@ -227,7 +227,7 @@ class TelechargementController extends Zend_Controller_Action
|
|||||||
|
|
||||||
$request = $this->getRequest();
|
$request = $this->getRequest();
|
||||||
|
|
||||||
$url = "http://wse.scores-decisions.com:8081/fichier/bodacc/q";
|
$url = "http://wse.scores-decisions.com:8081/fichier/bodacc";
|
||||||
|
|
||||||
$q = $request->getParam('q', '');
|
$q = $request->getParam('q', '');
|
||||||
|
|
||||||
@ -235,7 +235,7 @@ class TelechargementController extends Zend_Controller_Action
|
|||||||
$auth = Zend_Auth::getInstance();
|
$auth = Zend_Auth::getInstance();
|
||||||
$identity = $auth->getIdentity();
|
$identity = $auth->getIdentity();
|
||||||
$authinfo = '/login/'.$identity->username.'/hach/'.$identity->password;
|
$authinfo = '/login/'.$identity->username.'/hach/'.$identity->password;
|
||||||
$url = $url.$authinfo.'/'.$q;
|
$url = $url.$authinfo.'/q/'.$q;
|
||||||
|
|
||||||
$file = $this->getFile($url, uniqid().'.pdf');
|
$file = $this->getFile($url, uniqid().'.pdf');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user