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:
@@ -611,7 +611,7 @@ class Application extends Container implements ApplicationContract
|
||||
*/
|
||||
public function isDownForMaintenance()
|
||||
{
|
||||
return false;
|
||||
return $this->config('offline');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user