1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 02:36:08 +02:00

Allow forum to be taken offline via config

This commit is contained in:
Toby Zerner
2015-12-03 17:56:27 +10:30
parent 67e9e23df1
commit 094ad74abc
2 changed files with 2 additions and 2 deletions

View File

@@ -611,7 +611,7 @@ class Application extends Container implements ApplicationContract
*/
public function isDownForMaintenance()
{
return false;
return $this->config('offline');
}
/**