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 |
|
2005-01-07 23:10:51 +00:00
|
|
|
// | Copyright (C) 2003-2005 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-03-25 22:10:55 +00:00
|
|
|
define('PHPWG_VERSION', '1.4.0');
|
2004-09-07 20:10:36 +00:00
|
|
|
define('PHPWG_URL', 'http://www.phpwebgallery.net');
|
|
|
|
define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net');
|
2004-07-28 17:21:58 +00:00
|
|
|
|
2004-03-20 00:52:37 +00:00
|
|
|
// User level
|
|
|
|
define('ANONYMOUS', 2);
|
|
|
|
|
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');
|
|
|
|
define('USERS_TABLE', $prefixeTable.'users');
|
|
|
|
define('WAITING_TABLE', $prefixeTable.'waiting');
|
|
|
|
define('IMAGE_METADATA_TABLE', $prefixeTable.'image_metadata');
|
|
|
|
define('RATE_TABLE', $prefixeTable.'rate');
|
|
|
|
define('USER_FORBIDDEN_TABLE', $prefixeTable.'user_forbidden');
|
2005-03-25 22:10:55 +00:00
|
|
|
define('CADDIE_TABLE', $prefixeTable.'caddie');
|
2004-02-11 23:20:38 +00:00
|
|
|
?>
|