/
_ss_environment.php
47 lines (28 loc) · 1.23 KB
/
_ss_environment.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
<?php
define('SS_DATABASE_SERVER', 'localhost');
define('SS_DATABASE_USERNAME', 'root');
define('SS_DATABASE_PASSWORD', 'root');
define('SS_DATABASE_NAME', 'calendar-demo');
define('SS_ENVIRONMENT_TYPE', 'live');
define('SS_DEFAULT_ADMIN_USERNAME', 'info@title.dk');
define('SS_DEFAULT_ADMIN_PASSWORD', 'password');
//error log - the first line seems to be the proper one
//you might need to create silverstripe.log though, and give it the proper permissions
define('SS_ERROR_LOG', '../logs/silverstripe.log');
//define('SS_ERROR_LOG', __DIR__ . '/logs/silverstripe.log');
global $_FILE_TO_URL_MAPPING;
$_FILE_TO_URL_MAPPING['/Users/anselm/git-repos/silverstripe-calendar-demo/public'] = 'http://calendar-demo:8888';
//FOR LOCALHOST
//define('SS_BACKUP_MAMP', true);
//FOR HOSTED SITES:
//define('SS_BACKUP_REMOTE_HOST', 'do2@he1new.title.dk');
//define('SS_BACKUP_REMOTE_DIR', 'calendar-demo-backup');
//FOR TEST SITES:
//Protect the site with basic auth
//define('SS_USE_BASIC_AUTH', true);
//Emailing
//define('SS_SEND_ALL_EMAILS_TO', '');
//define('SS_SEND_ALL_EMAILS_FROM', '');
//find more configuration options here:
//http://doc.silverstripe.org/framework/en/topics/environment-management
//https://gist.github.com/ryanwachtl/5793212