aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 e07f34a5b..d97a44b07 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -178,9 +178,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'
)
)
)