-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathenv.php
More file actions
56 lines (48 loc) · 1.38 KB
/
env.php
File metadata and controls
56 lines (48 loc) · 1.38 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
47
48
49
50
51
52
53
54
55
56
<?php
/**
* Define your constant variables
*/
// General
define('APP_ROOT', dirname(__FILE__));
const URL_ROOT = 'http://localhost:8080';
const COOKIE_DAYS = 180;
const CONTROLLER_FOLDER = 'Controllers\\';
const DEFAULT_TIMEZONE = 'America/New_York';
// Debug
const DISPLAY_ERRORS = true;
const ERROR_REPORTING = E_ALL;
const LOG_DIR = 'src/Logs/';
const LOG_FILE_BASENAME = 'log_';
// Information
const TITLE = 'PHP MVC';
const SUBTITLE = 'A Pure PHP Composer based MVC Framework to Cover All Requirements!';
const THEME_COLOR = '#f0e6dc';
const MASK_COLOR = '#008044';
// Caching
const MEMCACHED_ENABLED = true;
const MEMCACHED_HOST = 'php-mvc-memcached';
const MEMCACHED_PORT = 11211;
const CACHE_TIME_SEC = 86400;
// Blog
const DEFAULT_CATEGORY = 'General';
const RSS_COUNTS = 5;
// DB
const DB_TYPE = 'mysql';
const DB_HOST = 'php-mvc-db';
const DB_PORT = '3306';
const DB_USER = 'mvc_user';
const DB_PASS = 'mvc_Pass995!';
const DB_NAME = 'mvc_db';
// Keep this empty, if you don't use NoSQL DB like SQLite
const NO_SQL_ADDRESS = '';
// Email
const MAIL_MAILER = 'smtp';
const MAIL_HOST = 'smtp.mailtrap.io';
const MAIL_PORT = 2525;
const MAIL_USERNAME = '****e62857****';
const MAIL_PASSWORD = '****e46fed****';
const MAIL_ENCRYPTION = 'tls';
const MAIL_FROM = 'eazaran@gmail.com';
const MAIL_FROM_NAME = 'GiliApps';
const MAIL_CC = 'support@giliapps.com';
const MAIL_BCC = 'support@giliapps.com';