Hi Nacho
Mainly you don't need to change the default main vars in config4.php:
# DEDALO 4 MAIN VARS
define('DEDALO_HOST', $_SERVER['HTTP_HOST'] );
define('DEDALO_PROTOCOL', (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS']==='on') ? 'https://' : 'http://');
# Dedalo paths
define('DEDALO_ROOT', dirname(dirname(dirname(dirname(__FILE__)))));
define('DEDALO_ROOT_WEB', explode('/lib/', $_SERVER["REQUEST_URI"])[0]);
define('DEDALO_LIB_BASE_PATH', dirname( dirname(__FILE__) ));
define('DEDALO_LIB_BASE_URL', DEDALO_ROOT_WEB . '/'. basename(dirname(DEDALO_LIB_BASE_PATH)) . '/'. basename(DEDALO_LIB_BASE_PATH) );
define('DEDALO_EXTRAS_PATH', DEDALO_LIB_BASE_PATH .'/extras');
# Dedalo information
define('DEDALO_SALT_STRING', 'dedalo_cuatro');
# TIME ZONE : Time zone for backups archive names
define('DEDALO_TIMEZONE', 'Europe/Madrid'); date_default_timezone_set(DEDALO_TIMEZONE);
# SET LOCALE (Spanish for example)
// setlocale(LC_ALL,'es_ES'); // For Mac
setlocale(LC_ALL, 'es_ES.utf8'); // For Linux
The only constant that you should change in main vars, and for security reasons' is DEDALO_SALT_STRING
, change it for any other string, because this constant is used to encrypt data, and the default value is public.
from:
define('DEDALO_SALT_STRING', 'dedalo_cuatro');
to something like:
define('DEDALO_SALT_STRING', 'my_secret_string_for_myProject_in_2022');
Usually, the constants you have to focus on changing in config4.php are:
DEDALO_ENTITY
with a tld (like your main domain like 'archivocasla')
DEDALO_ENTITY_LABEL
free text 'Archivo Casla'
DEDALO_APPLICATION_LANGS
with your project langs
DEDALO_APPLICATION_LANGS_DEFAULT
DEDALO_DATA_LANG_DEFAULT
DEDALO_PROJECTS_DEFAULT_LANGS
The other constants can be left with the default values.
I hope this is clear.
Best