1 | <?php |
---|
2 | // +-----------------------------------------------------------------------+ |
---|
3 | // | constants.php | |
---|
4 | // +-----------------------------------------------------------------------+ |
---|
5 | // | application : PhpWebGallery <http://phpwebgallery.net> | |
---|
6 | // | branch : BSF (Best So Far) | |
---|
7 | // +-----------------------------------------------------------------------+ |
---|
8 | // | file : $RCSfile$ |
---|
9 | // | last update : $Date: 2004-07-28 17:21:58 +0000 (Wed, 28 Jul 2004) $ |
---|
10 | // | last modifier : $Author: gweltas $ |
---|
11 | // | revision : $Revision: 463 $ |
---|
12 | // +-----------------------------------------------------------------------+ |
---|
13 | // | This program is free software; you can redistribute it and/or modify | |
---|
14 | // | it under the terms of the GNU General Public License as published by | |
---|
15 | // | the Free Software Foundation | |
---|
16 | // | | |
---|
17 | // | This program is distributed in the hope that it will be useful, but | |
---|
18 | // | WITHOUT ANY WARRANTY; without even the implied warranty of | |
---|
19 | // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
---|
20 | // | General Public License for more details. | |
---|
21 | // | | |
---|
22 | // | You should have received a copy of the GNU General Public License | |
---|
23 | // | along with this program; if not, write to the Free Software | |
---|
24 | // | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | |
---|
25 | // | USA. | |
---|
26 | // +-----------------------------------------------------------------------+ |
---|
27 | |
---|
28 | // Default Language |
---|
29 | define('DEFAULT_LANGUAGE', 'en_UK.iso-8859-1'); |
---|
30 | |
---|
31 | // Debug Level |
---|
32 | define('DEBUG', 1); // Debugging on |
---|
33 | //define('DEBUG', 0); // Debugging off |
---|
34 | |
---|
35 | // User level |
---|
36 | define('ANONYMOUS', 2); |
---|
37 | |
---|
38 | // Error codes |
---|
39 | define('GENERAL_MESSAGE', 200); |
---|
40 | define('GENERAL_ERROR', 202); |
---|
41 | define('CRITICAL_MESSAGE', 203); |
---|
42 | define('CRITICAL_ERROR', 204); |
---|
43 | |
---|
44 | // Table names |
---|
45 | define('CATEGORIES_TABLE', $table_prefix.'categories'); |
---|
46 | define('COMMENTS_TABLE', $table_prefix.'comments'); |
---|
47 | define('CONFIG_TABLE', $table_prefix.'config'); |
---|
48 | define('FAVORITES_TABLE', $table_prefix.'favorites'); |
---|
49 | define('GROUP_ACCESS_TABLE', $table_prefix.'group_access'); |
---|
50 | define('GROUPS_TABLE', $table_prefix.'groups'); |
---|
51 | define('HISTORY_TABLE', $table_prefix.'history'); |
---|
52 | define('IMAGE_CATEGORY_TABLE', $table_prefix.'image_category'); |
---|
53 | define('IMAGES_TABLE', $table_prefix.'images'); |
---|
54 | define('SESSIONS_TABLE', $table_prefix.'sessions'); |
---|
55 | define('SITES_TABLE', $table_prefix.'sites'); |
---|
56 | define('USER_ACCESS_TABLE', $table_prefix.'user_access'); |
---|
57 | define('USER_GROUP_TABLE', $table_prefix.'user_group'); |
---|
58 | define('USERS_TABLE', $table_prefix.'users'); |
---|
59 | define('WAITING_TABLE', $table_prefix.'waiting'); |
---|
60 | |
---|
61 | ?> |
---|