1 | <?php |
---|
2 | // +-----------------------------------------------------------------------+ |
---|
3 | // | PhpWebGallery - a PHP based picture gallery | |
---|
4 | // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | |
---|
5 | // | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net | |
---|
6 | // +-----------------------------------------------------------------------+ |
---|
7 | // | branch : BSF (Best So Far) |
---|
8 | // | file : $RCSfile$ |
---|
9 | // | last update : $Date: 2006-04-04 22:29:35 +0000 (Tue, 04 Apr 2006) $ |
---|
10 | // | last modifier : $Author: plg $ |
---|
11 | // | revision : $Revision: 1121 $ |
---|
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 settings |
---|
29 | define('PHPWG_VERSION', '%PWGVERSION%'); |
---|
30 | define('PHPWG_URL', 'http://www.phpwebgallery.net'); |
---|
31 | define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net'); |
---|
32 | define('PHPWG_DEFAULT_LANGUAGE', 'en_UK.iso-8859-1'); |
---|
33 | |
---|
34 | // Error codes |
---|
35 | define('GENERAL_MESSAGE', 200); |
---|
36 | define('GENERAL_ERROR', 202); |
---|
37 | define('CRITICAL_MESSAGE', 203); |
---|
38 | define('CRITICAL_ERROR', 204); |
---|
39 | |
---|
40 | // Access codes |
---|
41 | define('ACCESS_NONE', 0); |
---|
42 | define('ACCESS_GUEST', 1); |
---|
43 | define('ACCESS_CLASSIC', 2); |
---|
44 | define('ACCESS_ADMINISTRATOR', 3); |
---|
45 | define('ACCESS_WEBMASTER', 4); |
---|
46 | |
---|
47 | // Table names |
---|
48 | define('CATEGORIES_TABLE', $prefixeTable.'categories'); |
---|
49 | define('COMMENTS_TABLE', $prefixeTable.'comments'); |
---|
50 | define('CONFIG_TABLE', $prefixeTable.'config'); |
---|
51 | define('FAVORITES_TABLE', $prefixeTable.'favorites'); |
---|
52 | define('GROUP_ACCESS_TABLE', $prefixeTable.'group_access'); |
---|
53 | define('GROUPS_TABLE', $prefixeTable.'groups'); |
---|
54 | define('HISTORY_TABLE', $prefixeTable.'history'); |
---|
55 | define('IMAGE_CATEGORY_TABLE', $prefixeTable.'image_category'); |
---|
56 | define('IMAGES_TABLE', $prefixeTable.'images'); |
---|
57 | define('SESSIONS_TABLE', $prefixeTable.'sessions'); |
---|
58 | define('SITES_TABLE', $prefixeTable.'sites'); |
---|
59 | define('USER_ACCESS_TABLE', $prefixeTable.'user_access'); |
---|
60 | define('USER_GROUP_TABLE', $prefixeTable.'user_group'); |
---|
61 | define('USERS_TABLE', $conf['users_table']); |
---|
62 | define('USER_INFOS_TABLE', $prefixeTable.'user_infos'); |
---|
63 | define('USER_FEED_TABLE', $prefixeTable.'user_feed'); |
---|
64 | define('WAITING_TABLE', $prefixeTable.'waiting'); |
---|
65 | define('IMAGE_METADATA_TABLE', $prefixeTable.'image_metadata'); |
---|
66 | define('RATE_TABLE', $prefixeTable.'rate'); |
---|
67 | define('USER_CACHE_TABLE', $prefixeTable.'user_cache'); |
---|
68 | define('CADDIE_TABLE', $prefixeTable.'caddie'); |
---|
69 | define('UPGRADE_TABLE', $prefixeTable.'upgrade'); |
---|
70 | define('SEARCH_TABLE', $prefixeTable.'search'); |
---|
71 | define('USER_MAIL_NOTIFICATION_TABLE', $prefixeTable.'user_mail_notification'); |
---|
72 | define('TAGS_TABLE', $prefixeTable.'tags'); |
---|
73 | define('IMAGE_TAG_TABLE', $prefixeTable.'image_tag'); |
---|
74 | ?> |
---|