-
Notifications
You must be signed in to change notification settings - Fork 0
/
tmp-config.php
executable file
·31 lines (25 loc) · 933 Bytes
/
tmp-config.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
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
date_default_timezone_set('Europe/Copenhagen');
session_start();
$basePath = dirname(__FILE__) .'/';
# Path setup
define('ROOT_PATH', $basePath );
define('CONTROLLER_PATH' , ROOT_PATH .'controller/');
define('RESOURCES_PATH' , ROOT_PATH .'resources/');
define('ORM_PATH' , RESOURCES_PATH .'orm/');
# Database setup
define( 'MONGODB_DB_HOST' , '127.0.0.1' );
define( 'MONGODB_DB_PORT' , '27017' );
define( 'MONGODB_DB_NAME' , 'smarthome' );
# Smarthome API server
define('REST_API_PHILIPS_HUE', 'http://127.0.0.1:9001/');
# Mail settings - config
define('MAIL_SMTP_SERVER', '{smtp-server}');
define('MAIL_SMTP_SERVER_PORT', '{smtp-server-port}');
define('MAIL_SMTP_USERNAME', '{smtp-username}');
define('MAIL_SMTP_PASSWORD', '{smtp-password}');
define('BLADE_VIEWS', ROOT_PATH .'resources/blade/views');
define('BLADE_CACHE', ROOT_PATH .'resources/blade/cache');
?>