This repository has been archived by the owner on Jan 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.php.distrib
44 lines (30 loc) · 1.78 KB
/
config.php.distrib
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
<?php
$cfg['APP_NAME'] = 'Topics'; // application name
$cfg['LOG_LEVEL'] = 1; // 0 - nothing, 1 - errors, 2 - warnings, 3 - all, 4 - all with cache
$cfg['SQL_LOG_LEVEL'] = 0; // 0 - off, 1 - on
$cfg['LOG_STOPWATCH'] = 0; // 0 - off, 1 - on
$cfg['SQL_SEPARATE_LOGGING'] = 0; // 0 - off, 1 - on
$cfg['LOG_CACHE'] = 0; // 0 - off, 1 - on
$cfg['LOG_DIR'] = ''; // directory where log files will be saved - relative path
$cfg['CACHE_DIR'] = ''; // directory where cache files will be saved - relative path
$cfg['UPLOAD_DIR'] = ''; // directory where uploaded files will be saved - relative path
$cfg['GRID_EXPORT_DIR'] = ''; // directory where grid export files will be saved - relative path
$cfg['IS_DEV'] = false; // true if this version is development or false if not
$cfg['APP_REAL_DIR'] = ''; // absolute path to the application root directory
$cfg['DB_SERVER'] = ''; // database server address
$cfg['DB_PORT'] = ''; // database server port
$cfg['DB_USER'] = ''; // database user
$cfg['DB_PASS'] = ''; // database user password
$cfg['DB_NAME'] = ''; // database name
$cfg['GRID_SIZE'] = 20; // grid row count, must be greater than 1
$cfg['FULL_DELETE'] = false; // true if content is deleted fully or false if it just has isDeleted = 1
$cfg['PHP_DIR_FULLPATH'] = ''; // path to the php directory
$cfg['MAIL_SERVER'] = ''; // mail server address
$cfg['MAIL_SERVER_PORT'] = 465; // mail server port
$cfg['MAIL_USERNAME'] = ''; // mail server username login
$cfg['MAIL_PASSWORD'] = ''; // mail server password login
$cfg['MAIL_EMAIL'] = ''; // mail server email
$cfg['APP_URL_BASE'] = ''; // base URL of application - e.g. "topics.com" or "localhost"
$cfg['MAX_TOPIC_POST_PINS'] = 5; // maximum of topic post pins
$cfg['MAX_GRID_EXPORT_SIZE'] = 100; // grid row count for export, must be greater than GRID_SIZE
?>