mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-03 06:55:03 +03:00
24 lines
490 B
PHP
24 lines
490 B
PHP
<?php
|
||
error_reporting(E_ALL);
|
||
ini_set('display_errors', 1);
|
||
|
||
header('Content-Type: text/html; charset=utf-8');
|
||
|
||
require_once('bootstrap.php');
|
||
|
||
/**
|
||
* Определяем группы с шагами
|
||
*/
|
||
$aGroups=array(
|
||
'install'=>array(
|
||
'checkRequirements','installDb','installAdmin','installComplete'
|
||
),
|
||
|
||
'update'=>array(
|
||
'checkRequirements','updateDb'=>array('hide_create_db'=>true),'updateVersion','updateComplete'
|
||
),
|
||
|
||
);
|
||
|
||
$oInstall=new InstallCore($aGroups);
|
||
$oInstall->run(); |