forked from ksafranski/Fokiz
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.php
executable file
·104 lines (81 loc) · 3.86 KB
/
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
<?php
/*
* This file is part of the Fokiz Content Management System
* <http://www.fokiz.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//////////////////////////////////////////////////////////////////
// DATABASE
//////////////////////////////////////////////////////////////////
define("DB_HOST", "localhost");
define("DB_USER", "fokiz_db_user");
define("DB_PASS", "fokiz_db_password");
define("DB_NAME", "fokiz_database");
define("DB_CHARSET", "utf8");
define("DB_DSN", "mysql:host=".DB_HOST.";dbname=".DB_NAME.";charset=".DB_CHARSET);
//////////////////////////////////////////////////////////////////
// ROOT PATH (Requires trailing and leading slash, "/" for root)
//////////////////////////////////////////////////////////////////
define("FOKIZ_PATH","/");
//////////////////////////////////////////////////////////////////
// LANGUAGE (See: /system/lang folder)
//////////////////////////////////////////////////////////////////
define("LANGUAGE","en");
//////////////////////////////////////////////////////////////////
// ANALYTICS
//////////////////////////////////////////////////////////////////
define("UA_CODE","UA-XXXXX-X");
//////////////////////////////////////////////////////////////////
// FOLLOW LINKS
//////////////////////////////////////////////////////////////////
// Links built on pages for following the site. Uses class
// .follow and builds ul.follow>li>a structure ($load->follow)
$follow['Facebook'] = "http://www.facebook.com";
$follow['Twitter'] = "http://www.twitter.com";
$follow['RSS'] = "/rss.xml";
//////////////////////////////////////////////////////////////////
// RESOURCES
//////////////////////////////////////////////////////////////////
// Links to outside resources such as analytics, CRM's, etc...
// Format $resource['NAME'] = array('LINK','OPEN')
// OPEN = 0: Modal, 1: New Window
$resource['Google Analytics'] = array("https://www.google.com/analytics",1);
$resource['HootSuite'] = array("http://www.hootsuite.com",0);
//////////////////////////////////////////////////////////////////
// TITLE DIVIDER
//////////////////////////////////////////////////////////////////
define("TITLE_DIVIDER","|");
//////////////////////////////////////////////////////////////////
// TIMEZONE
//////////////////////////////////////////////////////////////////
date_default_timezone_set('America/Chicago');
//////////////////////////////////////////////////////////////////
// LOAD RESOURCES
//////////////////////////////////////////////////////////////////
require_once('system/common.php');
if(!$install){
require_once('templates/config_templates.php');
require_once('system/classes/class.system.php');
require_once('system/classes/class.page.php');
require_once('system/classes/class.block.php');
require_once('system/classes/class.navigation.php');
require_once('system/classes/class.user.php');
require_once('system/classes/class.feed.php');
require_once('system/classes/class.tag.php');
require_once('system/classes/class.image.php');
require_once('system/classes/class.apiql.php');
require_once('system/loader.php');
}
?>