source: trunk/include/constants.php @ 1866

Last change on this file since 1866 was 1866, checked in by rvelices, 17 years ago

feature 657: permalinks for categories

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.8 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-2007 PhpWebGallery Team - http://phpwebgallery.net |
6// +-----------------------------------------------------------------------+
7// | file          : $Id: constants.php 1866 2007-02-28 03:07:12Z rvelices $
8// | last update   : $Date: 2007-02-28 03:07:12 +0000 (Wed, 28 Feb 2007) $
9// | last modifier : $Author: rvelices $
10// | revision      : $Revision: 1866 $
11// +-----------------------------------------------------------------------+
12// | This program is free software; you can redistribute it and/or modify  |
13// | it under the terms of the GNU General Public License as published by  |
14// | the Free Software Foundation                                          |
15// |                                                                       |
16// | This program is distributed in the hope that it will be useful, but   |
17// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
18// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
19// | General Public License for more details.                              |
20// |                                                                       |
21// | You should have received a copy of the GNU General Public License     |
22// | along with this program; if not, write to the Free Software           |
23// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
24// | USA.                                                                  |
25// +-----------------------------------------------------------------------+
26
27// Default settings
28define('PHPWG_VERSION', 'Alligator');
29define('PHPWG_DOMAIN', 'phpwebgallery.net');
30define('PHPWG_URL', 'http://www.'.PHPWG_DOMAIN);
31define('PHPWG_DEFAULT_LANGUAGE', 'en_UK.iso-8859-1');
32
33// Error codes
34define('GENERAL_MESSAGE', 200);
35define('GENERAL_ERROR', 202);
36define('CRITICAL_MESSAGE', 203);
37define('CRITICAL_ERROR', 204);
38
39// Access codes
40define('ACCESS_NONE', 0);
41define('ACCESS_GUEST', 1);
42define('ACCESS_CLASSIC', 2);
43define('ACCESS_ADMINISTRATOR', 3);
44define('ACCESS_WEBMASTER', 4);
45
46// Table names
47define('CATEGORIES_TABLE', $prefixeTable.'categories');
48define('COMMENTS_TABLE', $prefixeTable.'comments');
49define('CONFIG_TABLE', $prefixeTable.'config');
50define('FAVORITES_TABLE', $prefixeTable.'favorites');
51define('GROUP_ACCESS_TABLE', $prefixeTable.'group_access');
52define('GROUPS_TABLE', $prefixeTable.'groups');
53define('HISTORY_TABLE', $prefixeTable.'history');
54define('HISTORY_SUMMARY_TABLE', $prefixeTable.'history_summary');
55define('IMAGE_CATEGORY_TABLE', $prefixeTable.'image_category');
56define('IMAGES_TABLE', $prefixeTable.'images');
57define('SESSIONS_TABLE', $prefixeTable.'sessions');
58define('SITES_TABLE', $prefixeTable.'sites');
59define('USER_ACCESS_TABLE', $prefixeTable.'user_access');
60define('USER_GROUP_TABLE', $prefixeTable.'user_group');
61define('USERS_TABLE', $conf['users_table']);
62define('USER_INFOS_TABLE', $prefixeTable.'user_infos');
63define('USER_FEED_TABLE', $prefixeTable.'user_feed');
64define('WAITING_TABLE', $prefixeTable.'waiting');
65define('IMAGE_METADATA_TABLE', $prefixeTable.'image_metadata');
66define('RATE_TABLE', $prefixeTable.'rate');
67define('USER_CACHE_TABLE', $prefixeTable.'user_cache');
68define('USER_CACHE_CATEGORIES_TABLE', $prefixeTable.'user_cache_categories');
69define('CADDIE_TABLE', $prefixeTable.'caddie');
70define('UPGRADE_TABLE', $prefixeTable.'upgrade');
71define('SEARCH_TABLE', $prefixeTable.'search');
72define('USER_MAIL_NOTIFICATION_TABLE', $prefixeTable.'user_mail_notification');
73define('TAGS_TABLE', $prefixeTable.'tags');
74define('IMAGE_TAG_TABLE', $prefixeTable.'image_tag');
75define('PLUGINS_TABLE', $prefixeTable.'plugins');
76define('WEB_SERVICES_ACCESS_TABLE', $prefixeTable.'ws_access');
77define('OLD_PERMALINKS_TABLE', $prefixeTable.'old_permalinks');
78?>
Note: See TracBrowser for help on using the repository browser.