Merge remote-tracking branch 'origin/3.7' into develop
This commit is contained in:
commit
78d1dfae11
@ -56,7 +56,7 @@ abstract class Stats
|
|||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/json.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/json.lib.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
$newpathofdestfile=$conf->user->dir_temp.'/'.get_class($this).'_'.__FUNCTION__.'_'.(empty($this->cachefilesuffix)?'':$this->cachefilesuffix.'_').$langs->defaultlang.'_user'.$user->id.'.cache';
|
$newpathofdestfile=$conf->user->dir_temp.'/'.get_class($this).'_'.__FUNCTION__.'_'.(empty($this->cachefilesuffix)?'':$this->cachefilesuffix.'_').$langs->defaultlang.'_entity.'.$conf->entity.'_user'.$user->id.'.cache';
|
||||||
$newmask='0644';
|
$newmask='0644';
|
||||||
|
|
||||||
$nowgmt = dol_now();
|
$nowgmt = dol_now();
|
||||||
@ -150,7 +150,7 @@ abstract class Stats
|
|||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/json.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/json.lib.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
$newpathofdestfile=$conf->user->dir_temp.'/'.get_class($this).'_'.__FUNCTION__.'_'.(empty($this->cachefilesuffix)?'':$this->cachefilesuffix.'_').$langs->defaultlang.'_user'.$user->id.'.cache';
|
$newpathofdestfile=$conf->user->dir_temp.'/'.get_class($this).'_'.__FUNCTION__.'_'.(empty($this->cachefilesuffix)?'':$this->cachefilesuffix.'_').$langs->defaultlang.'_entity.'.$conf->entity.'_user'.$user->id.'.cache';
|
||||||
$newmask='0644';
|
$newmask='0644';
|
||||||
|
|
||||||
$nowgmt = dol_now();
|
$nowgmt = dol_now();
|
||||||
@ -276,7 +276,7 @@ abstract class Stats
|
|||||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/json.lib.php';
|
include_once DOL_DOCUMENT_ROOT.'/core/lib/json.lib.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
$newpathofdestfile=$conf->user->dir_temp.'/'.get_class($this).'_'.__FUNCTION__.'_'.(empty($this->cachefilesuffix)?'':$this->cachefilesuffix.'_').$langs->defaultlang.'_user'.$user->id.'.cache';
|
$newpathofdestfile=$conf->user->dir_temp.'/'.get_class($this).'_'.__FUNCTION__.'_'.(empty($this->cachefilesuffix)?'':$this->cachefilesuffix.'_').$langs->defaultlang.'_entity.'.$conf->entity.'_user'.$user->id.'.cache';
|
||||||
$newmask='0644';
|
$newmask='0644';
|
||||||
|
|
||||||
$nowgmt = dol_now();
|
$nowgmt = dol_now();
|
||||||
|
|||||||
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
create table llx_c_type_resource
|
create table llx_c_type_resource
|
||||||
(
|
(
|
||||||
rowid integer PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
code varchar(32) NOT NULL,
|
code varchar(32) NOT NULL,
|
||||||
label varchar(64) NOT NULL,
|
label varchar(64) NOT NULL,
|
||||||
active tinyint DEFAULT 1 NOT NULL
|
active tinyint DEFAULT 1 NOT NULL
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user