mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
8bc93eac03
|
@ -1279,7 +1279,7 @@ class Settings { /* {{{ */
|
||||||
* If none was found a final try will be made checking /etc/seeddms
|
* If none was found a final try will be made checking /etc/seeddms
|
||||||
* @return NULL|string config directory
|
* @return NULL|string config directory
|
||||||
*/
|
*/
|
||||||
protected static function getConfigDir() { /* {{{ */
|
public static function getConfigDir() { /* {{{ */
|
||||||
if(defined("SEEDDMS_CONFIG_FILE"))
|
if(defined("SEEDDMS_CONFIG_FILE"))
|
||||||
return dirname(SEEDDMS_CONFIG_FILE);
|
return dirname(SEEDDMS_CONFIG_FILE);
|
||||||
elseif(getenv("SEEDDMS_CONFIG_FILE"))
|
elseif(getenv("SEEDDMS_CONFIG_FILE"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user