On change la manière de recupérer le nom du fichier
This commit is contained in:
parent
aeba2d05a2
commit
0b0984b253
@ -12,9 +12,8 @@ class FichierController extends Zend_Controller_Action
|
||||
$configuration = new Zend_Config_Ini(APPLICATION_PATH . '/configs/configuration.ini', 'path');
|
||||
$directory = realpath($configuration->data).'/bodacc';
|
||||
|
||||
$json = $this->getRequest()->getParam('q');
|
||||
$json = json_decode($json);
|
||||
$file = $json->fichier;
|
||||
$q = $this->getRequest()->getParam('q');
|
||||
$file = base64_decode($q);
|
||||
|
||||
$output_file = $directory.'/'.$file;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user