mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-02-01 14:11:55 +00:00
class Settings has been moved into namespace Seeddms\Seeddms
This commit is contained in:
parent
9ac6bca75f
commit
afd6a8b7f0
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user