class Settings has been moved into namespace Seeddms\Seeddms

This commit is contained in:
Uwe Steinmann 2025-10-28 15:48:52 +01:00
parent 9ac6bca75f
commit afd6a8b7f0
2 changed files with 3 additions and 4 deletions

View File

@ -5,7 +5,7 @@ define("SEEDDMS_INSTALL", "on");
define("SEEDDMS_VERSION", $ver->version());
include("../inc/inc.Settings.php");
$settings = new Settings();
$settings = new Seeddms\Seeddms\Settings();
$rootDir = realpath ("..");
if(file_exists($rootDir.'/../www'))
$rootDir = realpath($rootDir.'/..').'/www';

View File

@ -69,7 +69,7 @@ define("SEEDDMS_VERSION", $ver->version());
require_once('../inc/inc.ClassSettings.php');
$configDir = Settings::getConfigDir();
$configDir = Seeddms\Seeddms\Settings::getConfigDir();
/**
* Check if ENABLE_INSTALL_TOOL exists in config dir
@ -92,8 +92,7 @@ if (!file_exists($configDir."/settings.xml")) {
}
// Set folders settings
$settings = new Settings();
$settings->load($configDir."/settings.xml");
$settings = new Seeddms\Seeddms\Settings($configDir."/settings.xml");
$rootDir = realpath ("..");
$installPath = realpath ("install.php");