Unverified Commit 9f909617 authored by Rudi Floren's avatar Rudi Floren Committed by GitHub
Browse files

change publish_path to root for platform settings

publish_path seems to be removed from the platform context and thus in a sites settings.php the platform settings code results in:
```# Additional platform wide configuration settings.
  if (is_readable('/sites/all/platform.settings.php')) {

platform->root seems to yield the correct path to the platform
parent 46b264f1
......@@ -163,8 +163,8 @@ if (isset($_SERVER['db_name'])) {
# Additional platform wide configuration settings.
if (is_readable('<?php print $this->platform->publish_path ?>/sites/all/platform.settings.php')) {
include_once('<?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->root ?>/sites/all/platform.settings.php');
# 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