Set the cloud code length as a DataBase constant

This commit is contained in:
Gregory Trolliet 2020-11-25 22:49:54 +01:00
parent 06de0eb561
commit e072182ed4
2 changed files with 3 additions and 2 deletions

1
db.php
View file

@ -12,6 +12,7 @@ class DataBase
'month' => '+1 month'
);
const DEFAULT_SIZE = 3;
const CLOUD_CODE_LENGTH = 6;
private $db;
private $cloud;