Редакция 6 | Редакция 9 | К новейшей редакции | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 6 | Редакция 8 | ||
---|---|---|---|
Строка 12... | Строка 12... | ||
12 | 12 | ||
13 | require_once dirname(__FILE__)."/config.inc.php"; |
13 | require_once dirname(__FILE__)."/config.inc.php"; |
14 | require_once ROOT."/libs/DB.php"; |
14 | require_once ROOT."/libs/DB.php"; |
15 | require_once ROOT."/libs/core.php"; |
15 | require_once ROOT."/libs/core.php"; |
16 | require_once ROOT."/libs/theme.php"; |
16 | require_once ROOT."/libs/theme.php"; |
- | 17 | require_once ROOT."/libs/auth.php"; |
|
17 | 18 | ||
18 | $dsn = array( |
19 | $dsn = array( |
19 | 'phptype' => 'mysql', |
20 | 'phptype' => 'mysql', |
20 | 'username' => DBUSER, |
21 | 'username' => DBUSER, |
21 | 'password' => DBPASS, |
22 | 'password' => DBPASS, |
Строка 34... | Строка 35... | ||
34 | $db->setFetchMode(DB_FETCHMODE_ASSOC); |
35 | $db->setFetchMode(DB_FETCHMODE_ASSOC); |
35 | $query =& $db->query("SET NAMES utf8"); |
36 | $query =& $db->query("SET NAMES utf8"); |
36 | 37 | ||
37 | $core = new Core; |
38 | $core = new Core; |
38 | $theme = new Theme; |
39 | $theme = new Theme; |
- | 40 | $auth = new Auth; |
|
39 | 41 | ||
40 | ?>
|
42 | ?>
|