- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
/*
=====================================================
Данный код защищен авторскими правами
=====================================================
Файл: index.php
-----------------------------------------------------
Версия: 1
-----------------------------------------------------
Назначение: минимальные необходимые настройки
=====================================================
*/
if(!defined('SIGELENGINE')){die();}
#[cache configuration flag]
final class _config
{
private $config = array();
function __construct()
{
$this->set();
}
private function set()
{
$this->config['db']['use_buffer'] = 0;
$this->config['db']['show_errors'] = 1;
$this->config['db']['host'] = "...";
$this->config['db']['port'] = "...";
$this->config['db']['name'] = "...";
$this->config['db']['user'] = "...";
$this->config['db']['pass'] = "...";
$this->config['mail']['mailbox'] = array("...", "...", "...");
$this->config['defaults']['mod'] = "controller";
$this->config['defaults']['skin'] = "index";
$this->config['defaults']['debug'] = 0;
#[dynamic configuration]
}
function get()
{
return $this->config;
}
}