Commit 7bf972c5 authored by helmo's avatar helmo
Browse files

Fix publish_path to root in two more places, similar to what @valkum found

parent 9f909617
...@@ -163,8 +163,8 @@ if (isset($_SERVER['db_name'])) { ...@@ -163,8 +163,8 @@ if (isset($_SERVER['db_name'])) {
} }
# Additional platform wide configuration settings. # Additional platform wide configuration settings.
if (is_readable('<?php print $this->platform->publish_path ?>/sites/all/platform.settings.php')) { if (is_readable('<?php print $this->platform->root ?>/sites/all/platform.settings.php')) {
include_once('<?php print $this->platform->publish_path ?>/sites/all/platform.settings.php'); include_once('<?php print $this->platform->root ?>/sites/all/platform.settings.php');
} }
# Additional site configuration settings. # Additional site configuration settings.
......
...@@ -190,8 +190,8 @@ if (isset($_SERVER['db_name'])) { ...@@ -190,8 +190,8 @@ if (isset($_SERVER['db_name'])) {
} }
# Additional platform wide configuration settings. # Additional platform wide configuration settings.
if (is_readable('<?php print $this->platform->publish_path ?>/sites/all/platform.settings.php')) { if (is_readable('<?php print $this->platform->root ?>/sites/all/platform.settings.php')) {
include('<?php print $this->platform->publish_path ?>/sites/all/platform.settings.php'); include('<?php print $this->platform->root ?>/sites/all/platform.settings.php');
} }
# Additional site configuration settings. # Additional site configuration settings.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment