From afd6a8b7f0a337d81b096ae77bf6878c93f55330 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 28 Oct 2025 15:48:52 +0100 Subject: [PATCH] class Settings has been moved into namespace Seeddms\Seeddms --- install/index.php | 2 +- install/install.php | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/install/index.php b/install/index.php index 1015bd572..a0d2fd422 100644 --- a/install/index.php +++ b/install/index.php @@ -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'; diff --git a/install/install.php b/install/install.php index 24c5e0cf6..62aebae50 100644 --- a/install/install.php +++ b/install/install.php @@ -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");