Fix: property api dir_temp (#35439)
* fix undefined property * rename key
This commit is contained in:
parent
79210c0120
commit
a63eae7903
1 changed files with 6 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ class Conf
|
|||
public $notification;
|
||||
public $expensereport;
|
||||
public $productbatch;
|
||||
public $api;
|
||||
|
||||
|
||||
|
||||
|
|
@ -257,6 +258,7 @@ class Conf
|
|||
$this->notification = new stdClass();
|
||||
$this->expensereport = new stdClass();
|
||||
$this->productbatch = new stdClass();
|
||||
$this->api = new stdClass();
|
||||
|
||||
// Common arrays
|
||||
$this->cache = array();
|
||||
|
|
@ -504,6 +506,10 @@ class Conf
|
|||
$this->admin->dir_output = $rootfordata.'/admin';
|
||||
$this->admin->dir_temp = $rootfortemp.'/admin/temp';
|
||||
|
||||
// For api storage
|
||||
$this->api->dir_output = $rootfordata.'/api';
|
||||
$this->api->dir_temp = $rootfortemp.'/api/temp';
|
||||
|
||||
// For user storage
|
||||
$this->user->multidir_output = array($this->entity => $rootfordata."/users");
|
||||
$this->user->multidir_temp = array($this->entity => $rootfortemp."/users/temp");
|
||||
|
|
|
|||
Loading…
Reference in a new issue