diff --git a/config-dist.php b/config-dist.php index 7273641639..51c97990f6 100644 --- a/config-dist.php +++ b/config-dist.php @@ -477,6 +477,14 @@ function __the_end(){ } } + +if ( isset($CFG->apphome) && $CFG->apphome ) { + $tsugi_settings = $CFG->dirroot."/../tsugi_settings.php"; + if ( file_exists($tsugi_settings) ) { + require_once $tsugi_settings; + } +} + // The vendor include and root - generally leave these alone // unless you have a very custom checkout $CFG->vendorroot = $CFG->wwwroot."/vendor/tsugi/lib/util";