mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
make getConfigDir() public, because it is used in install/install.php
This commit is contained in:
parent
6e6851d165
commit
9eae4c4863
|
@ -1196,7 +1196,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