mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +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 */
|
/* Set alternative config file */
|
||||||
if(isset($options['config'])) {
|
if(isset($options['config'])) {
|
||||||
define('SEEDDMS_CONFIG_FILE', $options['config']);
|
define('SEEDDMS_CONFIG_FILE', $options['config']);
|
||||||
|
} elseif(isset($_SERVER['SEEDDMS_CONFIG_FILE'])) {
|
||||||
|
define('SEEDDMS_CONFIG_FILE', $_SERVER['SEEDDMS_CONFIG_FILE']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$mode = 'list';
|
$mode = 'list';
|
||||||
|
|
Loading…
Reference in New Issue
Block a user