2004-02-01 22:09:22 +00:00
|
|
|
<?php
|
2004-02-11 23:20:38 +00:00
|
|
|
// +-----------------------------------------------------------------------+
|
2004-11-06 21:12:59 +00:00
|
|
|
// | PhpWebGallery - a PHP based picture gallery |
|
|
|
|
// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
|
2006-02-06 22:59:30 +00:00
|
|
|
// | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net |
|
2004-02-11 23:20:38 +00:00
|
|
|
// +-----------------------------------------------------------------------+
|
2004-11-06 21:12:59 +00:00
|
|
|
// | branch : BSF (Best So Far)
|
2004-02-11 23:20:38 +00:00
|
|
|
// | file : $RCSfile$
|
|
|
|
// | last update : $Date$
|
|
|
|
// | last modifier : $Author$
|
|
|
|
// | revision : $Revision$
|
|
|
|
// +-----------------------------------------------------------------------+
|
|
|
|
// | This program is free software; you can redistribute it and/or modify |
|
|
|
|
// | it under the terms of the GNU General Public License as published by |
|
|
|
|
// | the Free Software Foundation |
|
|
|
|
// | |
|
|
|
|
// | This program is distributed in the hope that it will be useful, but |
|
|
|
|
// | WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
|
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
|
|
|
// | General Public License for more details. |
|
|
|
|
// | |
|
|
|
|
// | You should have received a copy of the GNU General Public License |
|
|
|
|
// | along with this program; if not, write to the Free Software |
|
|
|
|
// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
|
|
|
|
// | USA. |
|
|
|
|
// +-----------------------------------------------------------------------+
|
2004-02-01 22:09:22 +00:00
|
|
|
|
2004-09-07 20:10:36 +00:00
|
|
|
// Default settings
|
2005-04-25 21:45:38 +00:00
|
|
|
define('PHPWG_VERSION', '%PWGVERSION%');
|
2004-09-07 20:10:36 +00:00
|
|
|
define('PHPWG_URL', 'http://www.phpwebgallery.net');
|
|
|
|
define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net');
|
2005-09-27 21:57:14 +00:00
|
|
|
define('PHPWG_DEFAULT_LANGUAGE', 'en_UK.iso-8859-1');
|
2004-07-28 17:21:58 +00:00
|
|
|
|
2004-02-02 00:55:18 +00:00
|
|
|
// Error codes
|
|
|
|
define('GENERAL_MESSAGE', 200);
|
|
|
|
define('GENERAL_ERROR', 202);
|
|
|
|
define('CRITICAL_MESSAGE', 203);
|
|
|
|
define('CRITICAL_ERROR', 204);
|
|
|
|
|
|
|
|
// Table names
|
2005-01-08 23:32:25 +00:00
|
|
|
define('CATEGORIES_TABLE', $prefixeTable.'categories');
|
|
|
|
define('COMMENTS_TABLE', $prefixeTable.'comments');
|
|
|
|
define('CONFIG_TABLE', $prefixeTable.'config');
|
|
|
|
define('FAVORITES_TABLE', $prefixeTable.'favorites');
|
|
|
|
define('GROUP_ACCESS_TABLE', $prefixeTable.'group_access');
|
|
|
|
define('GROUPS_TABLE', $prefixeTable.'groups');
|
|
|
|
define('HISTORY_TABLE', $prefixeTable.'history');
|
|
|
|
define('IMAGE_CATEGORY_TABLE', $prefixeTable.'image_category');
|
|
|
|
define('IMAGES_TABLE', $prefixeTable.'images');
|
|
|
|
define('SESSIONS_TABLE', $prefixeTable.'sessions');
|
|
|
|
define('SITES_TABLE', $prefixeTable.'sites');
|
|
|
|
define('USER_ACCESS_TABLE', $prefixeTable.'user_access');
|
|
|
|
define('USER_GROUP_TABLE', $prefixeTable.'user_group');
|
2005-08-08 20:52:19 +00:00
|
|
|
define('USERS_TABLE', $conf['users_table']);
|
|
|
|
define('USER_INFOS_TABLE', $prefixeTable.'user_infos');
|
2005-08-19 13:54:40 +00:00
|
|
|
define('USER_FEED_TABLE', $prefixeTable.'user_feed');
|
2005-01-08 23:32:25 +00:00
|
|
|
define('WAITING_TABLE', $prefixeTable.'waiting');
|
|
|
|
define('IMAGE_METADATA_TABLE', $prefixeTable.'image_metadata');
|
|
|
|
define('RATE_TABLE', $prefixeTable.'rate');
|
2005-08-08 20:52:19 +00:00
|
|
|
define('USER_CACHE_TABLE', $prefixeTable.'user_cache');
|
2005-03-25 22:10:55 +00:00
|
|
|
define('CADDIE_TABLE', $prefixeTable.'caddie');
|
2005-11-24 21:37:29 +00:00
|
|
|
define('UPGRADE_TABLE', $prefixeTable.'upgrade');
|
2006-01-20 14:34:37 +00:00
|
|
|
define('SEARCH_TABLE', $prefixeTable.'search');
|
2006-02-06 22:59:30 +00:00
|
|
|
define('USER_MAIL_NOTIFICATION_TABLE', $prefixeTable.'user_mail_notification');
|
|
|
|
|
2004-02-11 23:20:38 +00:00
|
|
|
?>
|