class SetupCheck
{
protected $deps = array(
- 'pear.php.net/VersionControl_Git' => 'VersionControl_Git',
- 'pear.twig-project.org/Twig' => 'Twig_Autoloader',
- 'pear.php.net/Date_HumanDiff' => 'Date_HumanDiff',
+ 'pear.php.net/VersionControl_Git' => 'VersionControl_Git',
+ 'pear.twig-project.org/Twig' => 'Twig_Autoloader',
+ 'pear.php.net/Date_HumanDiff' => 'Date_HumanDiff',
+ 'pear.php.net/HTTP_Request2' => 'HTTP_Request2',
+ 'pear.php.net/Pager' => 'Pager',
+ 'pear.php.net/Services_Libravatar' => 'Services_Libravatar',
+ 'zustellzentrum.cweiske.de/MIME_Type_PlainDetect' => 'MIME_Type_PlainDetect',
);
protected $writableDirs;
$sc->checkDeps();
$sc->checkDirs();
$sc->checkGit();
+ $sc->checkDatabase();
}
public function checkDeps()
}
}
+ public function checkDatabase()
+ {
+ $dbs = new Database();
+ $dbs->getSetup()->setup();
+ }
+
public function fail($msg)
{
throw new Exception($msg);