Skip to content
Snippets Groups Projects
Commit a0988788 authored by Grace's avatar Grace Committed by mig5
Browse files

Allow local.settings.php to override global.inc to make it usable. (Grace)

parent 2c09f779
No related branches found
No related tags found
No related merge requests found
...@@ -84,12 +84,12 @@ ...@@ -84,12 +84,12 @@
} }
} }
# Additional site configuration settings.
if (file_exists('<?php print $this->site_path ?>/local.settings.php')) {
include_once('<?php print $this->site_path ?>/local.settings.php');
}
# Additional host wide configuration settings. Useful for safely specifying configuration settings. # Additional host wide configuration settings. Useful for safely specifying configuration settings.
if (file_exists('<?php print $this->platform->server->include_path ?>/global.inc')) { if (file_exists('<?php print $this->platform->server->include_path ?>/global.inc')) {
include_once('<?php print $this->platform->server->include_path ?>/global.inc'); include_once('<?php print $this->platform->server->include_path ?>/global.inc');
} }
# Additional site configuration settings.
if (file_exists('<?php print $this->site_path ?>/local.settings.php')) {
include_once('<?php print $this->site_path ?>/local.settings.php');
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment