framework/src/Core.php
Franz Liedke 825b4082de 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.
2015-05-08 20:44:53 +02:00

10 lines
149 B
PHP

<?php namespace Flarum;
class Core
{
public static function isInstalled()
{
return file_exists(base_path('../config.php'));
}
}