1
0
mirror of https://github.com/flarum/core.git synced 2025-10-10 06:24:26 +02:00

Copy the config.php file upon installation.

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.
This commit is contained in:
Franz Liedke
2015-05-08 20:37:07 +02:00
parent e1569beb00
commit 825b4082de
3 changed files with 16 additions and 1 deletions

9
src/Core.php Normal file
View File

@@ -0,0 +1,9 @@
<?php namespace Flarum;
class Core
{
public static function isInstalled()
{
return file_exists(base_path('../config.php'));
}
}