mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 08:58:10 +00:00
check env var SEEDDMS_CONFIG_FILE for config file
This commit is contained in:
parent
7862f5bc80
commit
bad5be893d
|
@ -21,6 +21,8 @@
|
|||
require_once('inc.ClassSettings.php');
|
||||
if(defined("SEEDDMS_CONFIG_FILE"))
|
||||
$settings = new Settings(SEEDDMS_CONFIG_FILE);
|
||||
elseif(getenv("SEEDDMS_CONFIG_FILE"))
|
||||
$settings = new Settings(getenv("SEEDDMS_CONFIG_FILE"));
|
||||
else
|
||||
$settings = new Settings();
|
||||
if(!defined("SEEDDMS_INSTALL") && file_exists(dirname($settings->_configFilePath)."/ENABLE_INSTALL_TOOL")) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user