source: trunk/include/constants.php @ 587

Last change on this file since 587 was 587, checked in by z0rglub, 20 years ago
  • function mysql_query replaced by pwg_query : the same with debugging features
  • by default, DEBUG is set to 0 (off)
  • 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// |                             constants.php                             |
4// +-----------------------------------------------------------------------+
5// | application   : PhpWebGallery <http://phpwebgallery.net>              |
6// | branch        : BSF (Best So Far)                                     |
7// +-----------------------------------------------------------------------+
8// | file          : $RCSfile$
9// | last update   : $Date: 2004-10-30 15:42:29 +0000 (Sat, 30 Oct 2004) $
10// | last modifier : $Author: z0rglub $
11// | revision      : $Revision: 587 $
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('DEFAULT_LANGUAGE', 'en_UK.iso-8859-1');
30define('PHPWG_VERSION', 'BSF');
31define('PHPWG_URL', 'http://www.phpwebgallery.net');
32define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net');
33
34// Debug Level
35//define('DEBUG', 1); // Debugging on
36define('DEBUG', 0); // Debugging off
37 
38// User level
39define('ANONYMOUS', 2);
40 
41// Error codes
42define('GENERAL_MESSAGE', 200);
43define('GENERAL_ERROR', 202);
44define('CRITICAL_MESSAGE', 203);
45define('CRITICAL_ERROR', 204); 
46
47// Table names
48define('CATEGORIES_TABLE', $table_prefix.'categories');
49define('COMMENTS_TABLE', $table_prefix.'comments');
50define('CONFIG_TABLE', $table_prefix.'config');
51define('FAVORITES_TABLE', $table_prefix.'favorites');
52define('GROUP_ACCESS_TABLE', $table_prefix.'group_access');
53define('GROUPS_TABLE', $table_prefix.'groups');
54define('HISTORY_TABLE', $table_prefix.'history');
55define('IMAGE_CATEGORY_TABLE', $table_prefix.'image_category');
56define('IMAGES_TABLE', $table_prefix.'images');
57define('SESSIONS_TABLE', $table_prefix.'sessions');
58define('SITES_TABLE', $table_prefix.'sites');
59define('USER_ACCESS_TABLE', $table_prefix.'user_access');
60define('USER_GROUP_TABLE', $table_prefix.'user_group');
61define('USERS_TABLE', $table_prefix.'users');
62define('WAITING_TABLE', $table_prefix.'waiting');
63define('IMAGE_METADATA_TABLE', $table_prefix.'image_metadata');
64define('RATE_TABLE', $table_prefix.'rate');
65?>
Note: See TracBrowser for help on using the repository browser.