mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
37 lines
687 B
PHP
37 lines
687 B
PHP
<?php
|
|
|
|
namespace Alchemy\Phrasea\Setup;
|
|
|
|
use Alchemy\Phrasea\Application;
|
|
|
|
class ConfigurationTester
|
|
{
|
|
|
|
private $app;
|
|
private $probes;
|
|
private $versionProbes;
|
|
|
|
public function __construct(Application $app)
|
|
{
|
|
$this->app = $app;
|
|
|
|
}
|
|
|
|
public function registerProbe(ProbeInterface $probe)
|
|
{
|
|
$this->probes[] = $probe;
|
|
}
|
|
|
|
public function isInstalled()
|
|
{
|
|
return file_exists(__DIR__ . '/../../../../config/config.yml')
|
|
&& file_exists(__DIR__ . '/../../../../config/connexions.yml')
|
|
&& file_exists(__DIR__ . '/../../../../config/services.yml');
|
|
}
|
|
|
|
public function probeIsMigrable()
|
|
{
|
|
|
|
}
|
|
}
|