mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-16 21:34:25 +03:00
21 lines
485 B
PHP
21 lines
485 B
PHP
<?php
|
|
|
|
class InstallStepInstallComplete extends InstallStep
|
|
{
|
|
|
|
public function init()
|
|
{
|
|
InstallConfig::$sFileConfig = dirname(INSTALL_DIR) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'config.local.php';
|
|
}
|
|
|
|
public function show()
|
|
{
|
|
/**
|
|
* Прописываем параметры в конфиг
|
|
*/
|
|
$aSave = array(
|
|
'install_completed' => true,
|
|
);
|
|
InstallConfig::save($aSave);
|
|
}
|
|
} |