mirror of
https://git.code.sf.net/p/seeddms/code
synced 2026-02-02 06:31:56 +00:00
fix checking for contentDir and rootDir
This commit is contained in:
parent
db8afb996e
commit
80321c12fe
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user