aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/common.inc.php')
-rw-r--r--include/common.inc.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/common.inc.php b/include/common.inc.php
index baabfdf72..e35990516 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -175,9 +175,10 @@ if ($conf['gallery_locked'])
if ($user['is_the_guest'] and !$conf['guest_access']
and !in_array( script_basename(),
- array('identification.php',
- 'password.php',
- 'register.php'
+ // Array of basename without file extention
+ array('identification',
+ 'password',
+ 'register'
)
)
)