make getConfigDir() public, because it is used in install/install.php

This commit is contained in:
Uwe Steinmann 2022-06-10 08:51:33 +02:00
parent 6e6851d165
commit 9eae4c4863

View File

@ -1196,7 +1196,7 @@ class Settings { /* {{{ */
* If none was found a final try will be made checking /etc/seeddms
* @return NULL|string config directory
*/
protected static function getConfigDir() { /* {{{ */
public static function getConfigDir() { /* {{{ */
if(defined("SEEDDMS_CONFIG_FILE"))
return dirname(SEEDDMS_CONFIG_FILE);
elseif(getenv("SEEDDMS_CONFIG_FILE"))