source: trunk/include/constants.php @ 1062

Last change on this file since 1062 was 1028, checked in by rub, 19 years ago

[NBM] Step 2: Add new table user_mail_notification (update, install, constants, delete user

+ Correction delete user (table user_feed missing, table sessions must be removed)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.3 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-2006 PhpWebGallery Team - http://phpwebgallery.net |
6// +-----------------------------------------------------------------------+
7// | branch        : BSF (Best So Far)
8// | file          : $RCSfile$
9// | last update   : $Date: 2006-02-06 22:59:30 +0000 (Mon, 06 Feb 2006) $
10// | last modifier : $Author: rub $
11// | revision      : $Revision: 1028 $
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');
32define('PHPWG_DEFAULT_LANGUAGE', 'en_UK.iso-8859-1');
33
34// Error codes
35define('GENERAL_MESSAGE', 200);
36define('GENERAL_ERROR', 202);
37define('CRITICAL_MESSAGE', 203);
38define('CRITICAL_ERROR', 204); 
39
40// Table names
41define('CATEGORIES_TABLE', $prefixeTable.'categories');
42define('COMMENTS_TABLE', $prefixeTable.'comments');
43define('CONFIG_TABLE', $prefixeTable.'config');
44define('FAVORITES_TABLE', $prefixeTable.'favorites');
45define('GROUP_ACCESS_TABLE', $prefixeTable.'group_access');
46define('GROUPS_TABLE', $prefixeTable.'groups');
47define('HISTORY_TABLE', $prefixeTable.'history');
48define('IMAGE_CATEGORY_TABLE', $prefixeTable.'image_category');
49define('IMAGES_TABLE', $prefixeTable.'images');
50define('SESSIONS_TABLE', $prefixeTable.'sessions');
51define('SITES_TABLE', $prefixeTable.'sites');
52define('USER_ACCESS_TABLE', $prefixeTable.'user_access');
53define('USER_GROUP_TABLE', $prefixeTable.'user_group');
54define('USERS_TABLE', $conf['users_table']);
55define('USER_INFOS_TABLE', $prefixeTable.'user_infos');
56define('USER_FEED_TABLE', $prefixeTable.'user_feed');
57define('WAITING_TABLE', $prefixeTable.'waiting');
58define('IMAGE_METADATA_TABLE', $prefixeTable.'image_metadata');
59define('RATE_TABLE', $prefixeTable.'rate');
60define('USER_CACHE_TABLE', $prefixeTable.'user_cache');
61define('CADDIE_TABLE', $prefixeTable.'caddie');
62define('UPGRADE_TABLE', $prefixeTable.'upgrade');
63define('SEARCH_TABLE', $prefixeTable.'search');
64define('USER_MAIL_NOTIFICATION_TABLE', $prefixeTable.'user_mail_notification');
65
66?>
Note: See TracBrowser for help on using the repository browser.