From c977a3b4bee2ced93ba633e55a0326f4d25ec0a1 Mon Sep 17 00:00:00 2001 From: Joao Alves Date: Tue, 23 Mar 2021 19:14:48 +0000 Subject: [PATCH] Define versions of JS/CSS libraries used as constants. --- tinyfilemanager.php | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 6c0486f..6e3c6c2 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -138,6 +138,13 @@ if (is_readable($config_file)) { // --- EDIT BELOW CAREFULLY OR DO NOT EDIT AT ALL --- +// Define libraries versions to be used +define('BOOTSTRAP_VERSION', '4.5.2'); +define('JQUERY_VERSION', '3.5.1'); +define('DATATABLES_VERSION', '1.10.23'); +define('EKKO_LIGHTBOX_VERSION','5.3.0'); +define('FONT_AWESOME_VERSION', '4.7.0'); +define('HIGHLIGHT_VERSION', '10.6.0'); // max upload file size define('MAX_UPLOAD_SIZE', $max_upload_size_bytes); @@ -3489,7 +3496,7 @@ global $lang, $root_url, $favicon_path; '; } ?> <?php echo fm_enc(APP_TITLE) ?> - +