Suppression des chemins en dur
This commit is contained in:
parent
1e1c7c7584
commit
f4b6075b19
@ -12,7 +12,8 @@ class FichierController extends Zend_Controller_Action
|
||||
$auth = Zend_Auth::getInstance();
|
||||
if ( $auth->hasIdentity() ) {
|
||||
|
||||
$directory = '/mnt/datafile/bodacc/histo';
|
||||
$c = Zend_Registry::get('config');
|
||||
$directory = $c->profil->path->shared.'/datafile/bodacc/histo';
|
||||
|
||||
$q = $this->getRequest()->getParam('q');
|
||||
$filename = base64_decode($q);
|
||||
|
@ -1474,7 +1474,7 @@ class Interne extends Scores_Ws_Server
|
||||
{
|
||||
$this->authenticate();
|
||||
$c = Zend_Registry::get('config');
|
||||
$path = "/mnt/clients/oldcrm";
|
||||
$path = $c->profil->path->shared."/clients/oldcrm";
|
||||
|
||||
if (empty($ref)) $ref = '*';
|
||||
if (empty($nomFic)) $nomFic = '';
|
||||
|
Loading…
Reference in New Issue
Block a user