-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.php
168 lines (150 loc) · 8.57 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<?php
/*=======================================================================
Nuke-Evolution Xtreme: Enhanced PHP-Nuke Web Portal System
=======================================================================*/
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* 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 2 of the License. */
/************************************************************************/
if (realpath(__FILE__) == realpath($_SERVER['SCRIPT_FILENAME'])) {
exit('Access Denied');
}
/*----[ Welcome! ] ---------------------------------------
| Welcome to Nuke-Evolution, an advanced content |
| management system based on PHP-Nuke |
---------------------------------------------------------*/
/*----[ $portaladmin ] ----------------------------------------
| Your admin id # |
| |
| Default: 2 |
---------------------------------------------------------*/
$portaladmin = 2;
/*----[ $dbhost ] ----------------------------------------
| Your database host, normally 'localhost' |
| |
| Default: localhost |
---------------------------------------------------------*/
$dbhost = 'localhost';
/*----[ $dbname ] ----------------------------------------
| The name of your database that will hold Evo's tables |
| |
| Default: xxx_evo |
---------------------------------------------------------*/
$dbname = 'xxx_network';
/*----[ $dbuname ] ---------------------------------------
| The username linked to your database, must have correct |
| permissions |
| |
| Default: xxx_evo |
---------------------------------------------------------*/
$dbuname = 'xxx_admin';
/*----[ $dbpass ] ----------------------------------------
| The password associated with your db usersname |
| |
| Default: null |
---------------------------------------------------------*/
$dbpass = '';
/*----[ $dbtype ] ----------------------------------------
| The type of SQL server you prefer to use |
| |
| Choose from the following (case-sensitive): |
| - mysql (4.x or later) |
| - mysqli (PHP must be compiled with "System Mysql") |
| |
| Default: mysql |
---------------------------------------------------------*/
$dbtype = 'mysqli';
/*----[ $prefix ] ----------------------------------------
| The prefix for your Nuke-Evolution tables |
| |
| Default: nuke |
---------------------------------------------------------*/
$prefix = 'nuke';
/*----[ $user_prefix ] -----------------------------------
| The prefix for your Nuke-Evolution user-related tables |
| Do not change this unless it is really needed |
| |
| Default: nuke |
---------------------------------------------------------*/
$user_prefix = 'nuke';
/*----[ $admin_file ] ------------------------------------
| The filename of your Admin File |
| |
| If you change this to something other than it's default |
| value, you must also rename the file called 'admin.php' |
| to the new value you assigned to this variable |
| |
| Default: admin |
---------------------------------------------------------*/
$admin_file = 'admin';
/*----[ $directory_mode ] ------------------------------------------
| permissions - by default, Evo will create new folders with the |
| permissions set with the following settings. NOTE: do NOT use |
| quotes around this value or it will not work. |
| Examples: |
| Server API = Apache = 0777 |
| Server API = CGI = 0755 |
-------------------------------------------------------------------*/
$directory_mode = 0777;
/*----[ $file_mode ] --------------------------------------------------
| file permissions mode - by default, Evo will create all new files |
| with the permissions that are provided here. NOTE: do NOT use any |
| quotes (single or double) around this value or it will not work. |
| Examples: |
| Server API = Apache = 0666 |
| Server API = CGI = 0644 |
----------------------------------------------------------------------*/
$file_mode = 0666;
/*----[ $debug ] -----------------------------------------
| Debugging Status of your website |
| |
| If you want errors being shown, set this to true. |
| It will also display evo notices at the footer, |
| but that's visible for admins only. |
| If you dont want any errors being shown, |
| set this to false. |
| |
| Default: true |
---------------------------------------------------------*/
$debug = true;
/*----[ $use_cache ] -----=-------------------------------
| Use caching of database fetched data |
| |
| You can choose between these options: |
| 0: Cache Off |
| 1: File Cache |
| - Faster load, more server usage |
| We recommend you use SQL cache if you have |
| problems with the File Cache |
| 2: SQL Cache |
| - One more query per page, less server usage |
| |
| Default: 1 (File Cache) |
---------------------------------------------------------*/
$use_cache = 1;
/*----[ $persistency ] -----------------------------------
| Allow persistent database connections |
| true = On |
| false = Off |
---------------------------------------------------------*/
$persistency = false;
/*********************************************************************/
/* You have finished configuration of your site. Now you can change */
/* all you want in the Administration Section. To enter just launch */
/* your web browser pointing to http://yourdomain.com/admin.php */
/* (or whatever you have setup in $admin_file) */
/* */
/* Remember to go to the Settings section where you can configure */
/* your new site. */
/* */
/* Congratulations! Now you have the webs best portal installed! */
/* Thanks for choosing Nuke- Evolution: The Future of the Web! */
/*********************************************************************/
?>