From 5a8ecfbfb140333e08d85b1d4a7e97bbba78bfcc Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 20 Dec 2004 12:30:36 +0000 Subject: - in picture.php, $user['maxwidth'] and $user['maxheight'] can be unset if NULL in database - new table user_forbidden {user_id,need_update,forbidden_categories} and deletion of field users.forbidden_categories - new function calculate_permissions to update table user_forbidden when needed - simplification of include/user.inc.php - in footer of each page, use "-" instead of "::" to separate page information git-svn-id: http://piwigo.org/svn/trunk@648 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/constants.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/constants.php') diff --git a/include/constants.php b/include/constants.php index 64b55a099..b6010787e 100644 --- a/include/constants.php +++ b/include/constants.php @@ -57,4 +57,5 @@ define('USERS_TABLE', $table_prefix.'users'); define('WAITING_TABLE', $table_prefix.'waiting'); define('IMAGE_METADATA_TABLE', $table_prefix.'image_metadata'); define('RATE_TABLE', $table_prefix.'rate'); +define('USER_FORBIDDEN_TABLE', $table_prefix.'user_forbidden'); ?> -- cgit v1.2.3