-
Notifications
You must be signed in to change notification settings - Fork 1
/
Settings.inc.php.template
executable file
·42 lines (26 loc) · 1.75 KB
/
Settings.inc.php.template
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
<?
### When DEBUG is true, sensitive information like like file paths and database queries might be shown. Make sure it is "false" on production
define('DEBUG', true);
error_reporting(DEBUG ? E_ALL : 0);
date_default_timezone_set('Europe/Berlin');
### Where the installation is located
define('ASENINE_DIR_ROOT', __DIR__ . '/');
define('ASENINE_DIR', ASENINE_DIR_ROOT . 'framework/');
### You can customize where uploads and generated files are put. If you don't specify, everything will be put in archive/ subfolder of project dir, so make sure this is writeable
#define('ASENINE_DIR_ARCHIVE', ASENINE_DIR_ROOT . 'archive/');
#define('ASENINE_DIR_MEDIA', ASENINE_DIR_ARCHIVE . 'media/');
#define('ASENINE_DIR_MEDIA_PUBLIC', ASENINE_DIR_MEDIA . 'public/');
### If you want to enable logging, uncomment this line and make dir writeable
#define('ASENINE_DIR_LOG', ASENINE_DIR_ROOT . 'log/');
### Database Config
define('ASENINE_PDO_DSN', 'mysql:host=localhost;dbname=Cordless;charset=utf8'); ### See http://php.net/manual/en/book.pdo.php for information on DSN string to use with your database
define('ASENINE_PDO_USER', 'cordless');
define('ASENINE_PDO_PASS', 'cordless');
### Password Salt
define('ASENINE_USER_PASSWORD_SALT', 'y7j123c86gh5768G&%)¤)/E98h6871h56/('); ### Set this to something funny
### Most of the time "./" works well as URL prefix, but it can sometimes be needed to specifiy an absolute URL to where Cordless is hosted. Set to "/cordless/", "http://cordless.mydomain.com/" or as suitable
define('URL_PLAYER', './'); ### Cordless
define('URL_ADMIN', './'); ### Admin (not required)
### To use the Last.fm API with your installation, obtain your own key from http://www.last.fm/api/account
#define('LAST_FM_API_KEY', false);
#define('LAST_FM_API_SECRET', false);