Added warnings in case plugin is not properly configured.

This commit is contained in:
Daniel Thee Roperto
2016-11-14 15:02:30 +11:00
parent 739c92e94e
commit 3360d357d4
10 changed files with 53 additions and 14 deletions

View File

@@ -81,6 +81,7 @@ enable the `Outage manager` plugin and place it on the top.
after your `$CFG->dataroot` is set:
```
// Insert this after $CFG->dataroot is defined.
if (file_exists(__DIR__.'/auth/outage/bootstrap.php')) {
require(__DIR__.'/auth/outage/bootstrap.php');
}