source: trunk/include/constants.php @ 375

Last change on this file since 375 was 375, checked in by gweltas, 20 years ago

New default template - User side

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
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-02-26 18:33:45 +0000 (Thu, 26 Feb 2004) $
10// | last modifier : $Author: gweltas $
11// | revision      : $Revision: 375 $
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// Debug Level
29define('DEBUG', 1); // Debugging on
30//define('DEBUG', 0); // Debugging off
31 
32// Error codes
33define('GENERAL_MESSAGE', 200);
34define('GENERAL_ERROR', 202);
35define('CRITICAL_MESSAGE', 203);
36define('CRITICAL_ERROR', 204); 
37
38// Table names
39define('CATEGORIES_TABLE', $table_prefix.'categories');
40define('COMMENTS_TABLE', $table_prefix.'comments');
41define('CONFIG_TABLE', $table_prefix.'config');
42define('FAVORITES_TABLE', $table_prefix.'favorites');
43define('GROUPS_ACCESS_TABLE', $table_prefix.'group_access');
44define('GROUPS_TABLE', $table_prefix.'groups');
45define('HISTORY_TABLE', $table_prefix.'history');
46define('IMAGE_CATEGORY_TABLE', $table_prefix.'image_category');
47define('IMAGES_TABLE', $table_prefix.'images');
48define('SESSIONS_TABLE', $table_prefix.'sessions');
49define('SITES_TABLE', $table_prefix.'sites');
50define('USER_ACCESS_TABLE', $table_prefix.'user_access');
51define('USER_CATEGORY_TABLE', $table_prefix.'user_category');
52define('USER_GROUP_TABLE', $table_prefix.'user_group');
53define('USERS_TABLE', $table_prefix.'users');
54define('WAITING_TABLE', $table_prefix.'waiting');
55
56?>
Note: See TracBrowser for help on using the repository browser.