mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
read env var SEEDDMS_CONFIG_FILE
This commit is contained in:
parent
480a130180
commit
3d40b14691
|
@ -45,6 +45,8 @@ if(isset($options['v']) || isset($options['verѕion'])) {
|
|||
/* Set alternative config file */
|
||||
if(isset($options['config'])) {
|
||||
define('SEEDDMS_CONFIG_FILE', $options['config']);
|
||||
} elseif(isset($_SERVER['SEEDDMS_CONFIG_FILE'])) {
|
||||
define('SEEDDMS_CONFIG_FILE', $_SERVER['SEEDDMS_CONFIG_FILE']);
|
||||
}
|
||||
|
||||
$mode = 'list';
|
||||
|
|
Loading…
Reference in New Issue
Block a user