-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
46 lines (37 loc) · 1.25 KB
/
config.php
File metadata and controls
46 lines (37 loc) · 1.25 KB
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
<?php
// HTTP
define('HTTP_SERVER', 'http://localhost/');
// HTTPS
define('HTTPS_SERVER', 'http://localhost/');
// Public Directory
define('PDIR', 'C:/xampp/htdocs/'); //in cloud '/home/domainName/public_html'
// Application Directory
define('ADIR', 'simplework/');
// Working Directory
define('DIR_', PDIR.ADIR);
// DIR_RELATIVE_PATH
define('DIR_APPLICATION', DIR_.'application/');
define('DIR_TRANSFER', DIR_.'transfer/');
define('DIR_UIM', DIR_.'uim/');
define('DIR_IMAGE', DIR_.'image/');
define('DIR_FILE', DIR_.'file/');
define('DIR_SYSTEM', DIR_.'system/');
define('DIR_LAYOUT', DIR_.'layout/');
define('DIR_LIBRARY', DIR_.'system/library/');
define('DIR_EXTLIB', DIR_.'system/extlib/');
define('DIR_CACHE', DIR_.'system/storage/cache/');
define('DIR_LOGS', DIR_.'system/storage/logs/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'root');
define('DB_PASSWORD', '');
define('DB_DATABASE', '');
define('DB_PORT', '3306');
define('DB_PREFIX', '');
// Encryption
define('ENCRYPTION_HASH', '6d2d9f1ec2ec849e9dd3433213ffb509');
// Cache
define('CACHE_PREFIX', 'SW'); // For "Alternative PHP Cache" or Memcache driver
define('CACHE_HOSTNAME', ''); // for Memcache driver
define('CACHE_PORT', ''); // for Memcache driver