Changeset 1052 for trunk/picture.php


Ignore:
Timestamp:
Feb 23, 2006, 6:12:32 AM (18 years ago)
Author:
rvelices
Message:

fix: permissioning not working (2 bugs)

fix: locked gallery cannot be unlocked (impossible to login)

improvement: nicer display in redirect.tpl

improvement: when a page is not accessible because of permissions (accessed
through bookmark or email), redirect to identification.php and after
identification to the initially requested page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r1051 r1052  
    3030define('PHPWG_ROOT_PATH','./');
    3131include_once(PHPWG_ROOT_PATH.'include/common.inc.php');
     32
     33include(PHPWG_ROOT_PATH.'include/section_init.inc.php');
    3234//-------------------------------------------------- access authorization check
    3335if (isset($page['cat']) and is_numeric($page['cat']))
     
    3638}
    3739//-------------------------------------------------------------- initialization
    38 include(PHPWG_ROOT_PATH.'include/section_init.inc.php');
    39 
    4040// if this image_id doesn't correspond to this category, an error message is
    4141// displayed, and execution is stopped
Note: See TracChangeset for help on using the changeset viewer.