aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2007-02-22 05:31:08 +0000
committerrvelices <rv-github@modusoptimus.com>2007-02-22 05:31:08 +0000
commit20ba76b753f53c00fece9cc727e60414c7e95570 (patch)
tree7ee1505efec7140307eb2bc94905cba3b0e268d8 /include/common.inc.php
parentcea58b64ee31c3b34887845bef6761edee3c6fc7 (diff)
- change the way conf['guest_access'] is handled so that web services work correctly (and also nbm.php and feed.php)
git-svn-id: http://piwigo.org/svn/trunk@1850 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/common.inc.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index a691f6cb5..bc24905bc 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -185,19 +185,6 @@ if ($conf['gallery_locked'])
}
}
-if ($user['is_the_guest'] and !$conf['guest_access']
- and !in_array( script_basename(),
- // Array of basename without file extention
- array('identification',
- 'password',
- 'register'
- )
- )
- )
-{
- redirect (get_absolute_root_url(false).'identification.php');
-}
-
if ($conf['check_upgrade_feed']
and defined('PHPWG_IN_UPGRADE')
and PHPWG_IN_UPGRADE)