TASK-232 Change encryt with URL_KEY and Deprecate encryptlink

This commit is contained in:
Brayan Pereyra
2025-09-23 19:52:18 +00:00
parent 554b4ad14b
commit 157f04d328
8 changed files with 10 additions and 19 deletions

View File

@@ -112,8 +112,6 @@ set_include_path(
* Global definitions
*/
// URL Key
define("URL_KEY", 'c0l0s40pt1mu59r1m3');
// Application settings
define('TIMEOUT_RESPONSE', 100); //web service timeout in seconds
@@ -330,7 +328,6 @@ if (!file_exists(PATH_HTML . 'index.html')) { // if not, create it from template
)));
}
define('SYS_URI', '/sys' . SYS_TEMP . '/' . SYS_LANG . '/' . SYS_SKIN . '/');
// defining the serverConf singleton
@@ -367,6 +364,9 @@ ini_set('date.timezone', TIME_ZONE); //Set Time Zone
date_default_timezone_set(TIME_ZONE);
// URL Key
define('URL_KEY', config('app.key'));
config(['app.timezone' => TIME_ZONE]);
// Load Language Translation