1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-05 16:04:24 +03:00
ifhub.club/application/install/index.php

30 lines
599 B
PHP
Raw Normal View History

2014-07-28 09:23:41 +03:00
<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
set_time_limit(0);
2014-07-28 09:23:41 +03:00
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'
),
2014-07-28 09:23:41 +03:00
);
$oInstall = new InstallCore($aGroups);
2014-07-28 09:23:41 +03:00
$oInstall->run();