setup: add local defines file

This commit is contained in:
o.pinke 2023-02-09 08:11:56 +01:00
parent 3d1a930809
commit 34d2c9ca2a
2 changed files with 7 additions and 1 deletions

1
.gitignore vendored
View file

@ -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

View file

@ -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;
}