La variable MAIN_UPLOAD_DOC contient la taille max autorise en upload
This commit is contained in:
parent
ef20f7056e
commit
e35500e5a5
@ -56,12 +56,12 @@ insert into llx_action_def (rowid,code,titre,description,objet_type) values (3,'
|
||||
-- Constantes de configuration
|
||||
--
|
||||
insert into llx_const (name, value, type, note, visible) values ('MAIN_NOT_INSTALLED','1','chaine','Test d\'installation',1);
|
||||
insert into llx_const (name, value, type, note, visible) values ('MAIN_UPLOAD_DOC','1','chaine','Autorise l\'upload de documents',0);
|
||||
|
||||
insert into llx_const (name, value, type, note, visible) values ('MAIN_MONNAIE','EUR','chaine','Monnaie',0);
|
||||
insert into llx_const (name, value, type, note, visible) values ('MAIN_MAIL_SMTP_SERVER','','chaine','Host or ip address for SMTP server',1);
|
||||
insert into llx_const (name, value, type, note, visible) values ('MAIN_MAIL_SMTP_PORT','','chaine','Port for SMTP server',1);
|
||||
|
||||
insert into llx_const (name, value, type, note, visible) values ('MAIN_UPLOAD_DOC','2048','chaine','Max size for file upload (0 means no upload allowed)',0);
|
||||
|
||||
insert into llx_const(name,value,type,visible,note) values('MAIN_FASTSEARCH_COMPANY','1','yesno',0,'Show form for quick company search');
|
||||
insert into llx_const(name,value,type,visible,note) values('MAIN_FASTSEARCH_CONTACT','1','yesno',0,'Show form for quick contact search');
|
||||
|
||||
@ -194,6 +194,7 @@ update llx_const set visible=0 where name='MAILING_EMAIL_FROM';
|
||||
update llx_const set visible=1 where name='PRODUIT_CONFIRM_DELETE_LINE';
|
||||
update llx_const set name='NOTIFICATION_EMAIL_FROM', visible=0 where name='MAIN_MAIL_FROM';
|
||||
update llx_const set name='NOTIFICATION_EMAIL_FROM', visible=0 where name='MAIN_EMAIL_FROM';
|
||||
update llx_const set value=2048,visible=1 where name='MAIN_UPLOAD_DOC' and value=1;
|
||||
|
||||
|
||||
insert into llx_const(name,value,type,visible,note) values('MAIN_SHOW_DEVELOPMENT_MODULES','0','yesno',1,'Make development modules visible');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user