-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.sample.php
executable file
·51 lines (48 loc) · 1.21 KB
/
config.sample.php
1
2
3
4
5
6
7
8
9
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
50
51
<?php
header("location: ./install.php");
exit;
//MySQL database host
const DB_HOST = 'localhost';
//MySQL database username
const DB_USER = 'root';
//MySQL database user password
const DB_PASSWD = '';
//Database name
const DB_NAME = 'emlog';
//Database table prefix
const DB_PREFIX = 'emlog_';
//Auth key
const AUTH_KEY = 'emlog-key';
//Cookie name
const AUTH_COOKIE_NAME = 'emlog-cookie';
// Production/Development Mode
const ENVIRONMENT = 'production'; // Operating mode: 'production' - production mode, 'develop' - development mode
//Default blog language
const DEFAULT_LANG = 'en'; //'en', 'ru', 'zh-CN', 'zh-TW', 'pt-BR', etc.
// Enabled language list
// Icons: https://unicode.bootstrap-4.ru/emoji/flags/
const LANG_LIST = [
/*
'ar' => [
'name' => 'العربية',
'title' => 'Arabic',
'icon' => '??',
'dir' => 'rtl',
],
*/
'en' => [
'name' => 'English',
'title' => 'English',
'dir' => 'ltr',
],
'ru' => [
'name' => 'Русский',
'title' => 'Russian',
'dir' => 'ltr',
],
'zh-CN' => [
'name' => '简体中文',
'title' => 'Simplified Chinese',
'dir' => 'ltr',
],
];