Changeset 1850 for trunk/upload.php


Ignore:
Timestamp:
Feb 22, 2007, 6:31:08 AM (17 years ago)
Author:
rvelices
Message:
  • change the way confguest_access is handled so that web services work correctly (and also nbm.php and feed.php)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upload.php

    r1843 r1850  
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    5 // | Copyright (C) 2003-2006 PhpWebGallery Team - http://phpwebgallery.net |
     5// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
    8 // | file          : $RCSfile$
     7// | file          : $Id$
    98// | last update   : $Date$
    109// | last modifier : $Author$
     
    2726define('PHPWG_ROOT_PATH','./');
    2827include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
     28
     29check_status(ACCESS_GUEST);
    2930
    3031$username = !empty($_POST['username'])?$_POST['username']:$user['username'];
Note: See TracChangeset for help on using the changeset viewer.