From 34d2c9ca2a3bfdd2fdd93ce77e76e97b7c0dfb5e Mon Sep 17 00:00:00 2001 From: "o.pinke" Date: Thu, 9 Feb 2023 08:11:56 +0100 Subject: [PATCH] setup: add local defines file --- .gitignore | 1 + setup/lib/defines.php | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 28c19a2..94e22d4 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /cms/data/config/production/config.mod_rewrite.php /cms/data/config/production/config.local.php /cms/cache/* +/setup/lib/defines.local.php diff --git a/setup/lib/defines.php b/setup/lib/defines.php index 1ee4ecd..596d2e8 100644 --- a/setup/lib/defines.php +++ b/setup/lib/defines.php @@ -39,4 +39,9 @@ define('C_SETUP_STEPWIDTH', 28); define('C_SETUP_STEPHEIGHT', 28); define('C_SETUP_MIN_PHP_VERSION', '7.4.0'); define('C_SETUP_MAX_PHP_VERSION', '8.3.0'); -define('C_SETUP_VERSION', '2.3.0 alpha'); +define('C_SETUP_VERSION', '2.3.0'); + +$sDefLocalPath = dirname(__FILE__).DIRECTORY_SEPARATOR.'defines.local.php'; +if(file_exists($sDefLocalPath)) { + include_once $sDefLocalPath; +} \ No newline at end of file