mirror of
https://github.com/flarum/framework.git
synced 2025-02-10 16:55:16 +08:00
![Franz Liedke](/assets/img/avatar_default.png)
This allows us to know whether Flarum is already installed, so that we can disable certain service providers when it isn't. This should fix #67.
10 lines
149 B
PHP
10 lines
149 B
PHP
<?php namespace Flarum;
|
|
|
|
class Core
|
|
{
|
|
public static function isInstalled()
|
|
{
|
|
return file_exists(base_path('../config.php'));
|
|
}
|
|
}
|