source: trunk/include/constants.php @ 589

Last change on this file since 589 was 589, checked in by z0rglub, 19 years ago
  • synchronization interface redesigned : a form lets user choose option of dirs/files/metadata sync on all categories or a defined one (including subcategories)
  • database sync is only available through update.php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.0 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-11-01 15:01:28 +0000 (Mon, 01 Nov 2004) $
10// | last modifier : $Author: z0rglub $
11// | revision      : $Revision: 589 $
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 : 1 = on, 0 = off
35define('DEBUG', 0);
36 
37// User level
38define('ANONYMOUS', 2);
39 
40// Error codes
41define('GENERAL_MESSAGE', 200);
42define('GENERAL_ERROR', 202);
43define('CRITICAL_MESSAGE', 203);
44define('CRITICAL_ERROR', 204); 
45
46// Table names
47define('CATEGORIES_TABLE', $table_prefix.'categories');
48define('COMMENTS_TABLE', $table_prefix.'comments');
49define('CONFIG_TABLE', $table_prefix.'config');
50define('FAVORITES_TABLE', $table_prefix.'favorites');
51define('GROUP_ACCESS_TABLE', $table_prefix.'group_access');
52define('GROUPS_TABLE', $table_prefix.'groups');
53define('HISTORY_TABLE', $table_prefix.'history');
54define('IMAGE_CATEGORY_TABLE', $table_prefix.'image_category');
55define('IMAGES_TABLE', $table_prefix.'images');
56define('SESSIONS_TABLE', $table_prefix.'sessions');
57define('SITES_TABLE', $table_prefix.'sites');
58define('USER_ACCESS_TABLE', $table_prefix.'user_access');
59define('USER_GROUP_TABLE', $table_prefix.'user_group');
60define('USERS_TABLE', $table_prefix.'users');
61define('WAITING_TABLE', $table_prefix.'waiting');
62define('IMAGE_METADATA_TABLE', $table_prefix.'image_metadata');
63define('RATE_TABLE', $table_prefix.'rate');
64?>
Note: See TracBrowser for help on using the repository browser.