source: tags/release-1_5_0RC1/include/constants.php @ 23347

Last change on this file since 23347 was 833, checked in by plg, 19 years ago
  • modification : RSS feed work only with a given feed identifier. Thus we can avoid fixed frequency notification to concentrate on variable frequency notification, which is much more interesting. To do this, feeds have moved to a dedicated table allowing each user (including guest user) to have more than on feed.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
Line 
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-2005 PhpWebGallery Team - http://phpwebgallery.net |
6// +-----------------------------------------------------------------------+
7// | branch        : BSF (Best So Far)
8// | file          : $RCSfile$
9// | last update   : $Date: 2005-08-19 13:54:40 +0000 (Fri, 19 Aug 2005) $
10// | last modifier : $Author: plg $
11// | revision      : $Revision: 833 $
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
29define('PHPWG_VERSION', '%PWGVERSION%');
30define('PHPWG_URL', 'http://www.phpwebgallery.net');
31define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net');
32
33// Error codes
34define('GENERAL_MESSAGE', 200);
35define('GENERAL_ERROR', 202);
36define('CRITICAL_MESSAGE', 203);
37define('CRITICAL_ERROR', 204); 
38
39// Table names
40define('CATEGORIES_TABLE', $prefixeTable.'categories');
41define('COMMENTS_TABLE', $prefixeTable.'comments');
42define('CONFIG_TABLE', $prefixeTable.'config');
43define('FAVORITES_TABLE', $prefixeTable.'favorites');
44define('GROUP_ACCESS_TABLE', $prefixeTable.'group_access');
45define('GROUPS_TABLE', $prefixeTable.'groups');
46define('HISTORY_TABLE', $prefixeTable.'history');
47define('IMAGE_CATEGORY_TABLE', $prefixeTable.'image_category');
48define('IMAGES_TABLE', $prefixeTable.'images');
49define('SESSIONS_TABLE', $prefixeTable.'sessions');
50define('SITES_TABLE', $prefixeTable.'sites');
51define('USER_ACCESS_TABLE', $prefixeTable.'user_access');
52define('USER_GROUP_TABLE', $prefixeTable.'user_group');
53define('USERS_TABLE', $conf['users_table']);
54define('USER_INFOS_TABLE', $prefixeTable.'user_infos');
55define('USER_FEED_TABLE', $prefixeTable.'user_feed');
56define('WAITING_TABLE', $prefixeTable.'waiting');
57define('IMAGE_METADATA_TABLE', $prefixeTable.'image_metadata');
58define('RATE_TABLE', $prefixeTable.'rate');
59define('USER_CACHE_TABLE', $prefixeTable.'user_cache');
60define('CADDIE_TABLE', $prefixeTable.'caddie');
61?>
Note: See TracBrowser for help on using the repository browser.