-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefault-fvls_config.php
113 lines (94 loc) · 2.62 KB
/
default-fvls_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
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<?php
/*
//
// Fresh Vine Link Shortener
//
//
// Page Purpose:
// Gotta get your config on - the defined constants are used throughout the service to manage configuration values
//
// Version: 1.0
//
*/
// Lets not do this twice - shall we
if( defined('FVLS_CONFIG_LOADED') )
return; // Thanks for coming!
define('FVLS_CONFIG_LOADED', true);
//
// General Details
/**
* The name of your site or service (used in default pages)
**/
if( !defined( 'FVLS_SERVICE_NAME' ) )
define('FVLS_SERVICE_NAME', '');
/**
* URL path to your site that promots your service - ex: https://freshvine.co/
**/
if( !defined( 'FVLS_SERVICE_URL' ) )
define('FVLS_SERVICE_URL', '');
/**
* The year to start your copyright claim - YYYY - ex: 2014
**/
if( !defined( 'FVLS_COPYRIGHT_START' ) )
define('FVLS_COPYRIGHT_START', date('Y'));
/**
* Developer mode will print out errors to the client
**/
if( !defined( 'FVLS_DEVELOPER_MODE' ) )
define('FVLS_DEVELOPER_MODE', true);
/**
* Timezone for your service - this can be specified based on the valid mysql settings (default is 'SYSTEM')
**/
if( !defined( 'FVLS_TIMEZONE' ) )
define('FVLS_TIMEZONE', 'SYSTEM');
// General Details
//
//
// MySQL Database Configuration
/**
* The hostname for how to connect to your database
**/
if( !defined( 'FVLS_MYSQL_HOST' ) )
define('FVLS_MYSQL_HOST', 'localhost');
/**
* The username to connect to the database with full access
**/
if( !defined( 'FVLS_MYSQL_USER' ) )
define('FVLS_MYSQL_USER', 'XXXXXXXXXX');
/**
* The password for the database user
**/
if( !defined( 'FVLS_MYSQL_PASS' ) )
define('FVLS_MYSQL_PASS', 'XXXXXXXXXX');
/**
* The name of the database that you are accessing
**/
if( !defined( 'FVLS_MYSQL_DATABASE' ) )
define('FVLS_MYSQL_DATABASE', 'XXXXXXXXXX');
/**
* The database table prefix if one exists. If not, then leave blank
**/
if( !defined( 'FVLS_MYSQL_TABLE_PREFIX' ) )
define('FVLS_MYSQL_TABLE_PREFIX', 'fvls_');
// MySQL Database Configuration
//
//
// Structure and Path stuff
/**
* The domain with schema for the link shortener to live at (ex: http://localhost/, https://freshv.in/ ) - include trailing slash
**/
if( !defined( 'FVLS_SITE_DOMAIN' ) )
define('FVLS_SITE_DOMAIN', 'http://localhost/');
/**
* The path to the folder (leave NULL if it is not in a folder). EX: 'shortened/links'
**/
if( !defined( 'FVLS_SITE_PATH' ) )
define('FVLS_SITE_PATH', NULL);
/**
* Relative or Absolute path to cache browser processing information
**/
if( !defined( 'FVLS_CACHE_PATH' ) )
define('FVLS_CACHE_PATH', NULL );
// Structure and Path stuff
//
?>