-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration-sample.php
executable file
·167 lines (130 loc) · 3.66 KB
/
configuration-sample.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
<?php
/*
WebMole, an automated explorer and tester for Web 2.0 applications
Copyright (C) 2012-2013 Gabriel Le Breton, Fabien Maronnaud,
Sylvain Hallé et al.
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/>.
*/
/* Prevent direct access to this file. */
if ($access != 'authorized')
die('You are not allowed to view this file');
/**
* Enable this to display php objects status
*/
define('DEBUG', false);
/****************************************************************
* Database settings
****************************************************************/
/**
* Database name
*/
define('DB_NAME', '');
/**
* Table to use in the database
*/
define('DB_TABLE_NAME', '');
/**
* Database User
*/
define('DB_USER', '');
/**
* Database Password
*/
define('DB_PASSWORD', '');
/**
* Database Host, default: localhost
*/
define('DB_HOST', '');
/****************************************************************
* Pagination
****************************************************************/
/**
* Enable or disable pagination
*/
define('PAGINATION_ENABLED', true);
/**
* Use Ajax to navigate through the pages
* @todo: implement this
*/
define('PAGINATION_AJAX', true);
/**
* Number of links displayed in the navigation menu
*/
define('PAGINATION_NUM_LINKS', -1); // -1 to display all links
/**
* Enable or disable "«" link in pagination
*/
define('PAGINATION_PREVIOUS_ENABLED', true);
/**
* Enable or disable "»" link in pagination
*/
define('PAGINATION_NEXT_ENABLED', true);
/**
* Enable or disable link to the first page in pagination
*/
define('PAGINATION_FIRST_ENABLED', true);
/**
* Enable or disable link to the last page in pagination
*/
define('PAGINATION_LAST_ENABLED', true);
/**
* Number of elements to display per page
*/
define('ELEMENTS_PER_PAGE', 30);
/****************************************************************
* Application Settings
****************************************************************/
/**
* Enable or disable stylesheet
*/
define('CSS_ENABLED', true);
/**
* Generate pages for each element and make the title clickable
* @todo: implement this
*/
define('ELEMENTS_LINKS', true);
/**
* Display total elements in database
* @todo: implement this
*/
define('ELEMENTS_TOTAL_COUNT', true);
/**
* Display total elements in current page
* @todo: implement this
*/
define('ELEMENTS_PAGE_COUNT', true);
/****************************************************************
* WRAPPER Settings (pages and components)
****************************************************************/
/**
* Enable or disable the wrapper globally
*/
define('WRAPPER_ENABLED', true);
/**
* Display the header with logo
*/
define('WRAPPER_HEADER', true);
/**
* Display the footer
*/
define('WRAPPER_FOOTER', true);
/**
* Display a sidebar beside elements
* @todo: implement this
*/
define('WRAPPER_SIDEBAR', true);
/**
* Display page links in the header and the footer.
* WRAPPER_HEADER and/or WRAPPER_FOOTER must be set to true
*/
define('WRAPPER_PAGES', true);
?>