fix checking for contentDir and rootDir

This commit is contained in:
Uwe Steinmann 2026-01-22 13:15:44 +01:00
parent db8afb996e
commit 80321c12fe

View File

@ -1434,7 +1434,7 @@ class Settings { /* {{{ */
$result = array();
// $this->_rootDir
if (!file_exists($this->_rootDir ."inc/inc.Settings.php")) {
if (!file_exists($this->_rootDir ."/inc/inc.Settings.php")) {
$result["rootDir"] = array(
"status" => "notfound",
"type" => "error",
@ -1481,7 +1481,7 @@ class Settings { /* {{{ */
// $this->_contentDir
if (!file_exists($this->_contentDir)) {
if (file_exists($rootDir.'data/')) {
if (file_exists($rootDir.'/data/')) {
$result["contentDir"] = array(
"status" => "notfound",
"type" => "error",