summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-02-01 15:10:59 +0000
committerfisharebest <fisharebest@gmail.com>2011-02-01 15:10:59 +0000
commit60d83af7638ee0db8f89826f3deb5068f0f2e295 (patch)
tree6761fa33b3317d2be78becb8d78a8e35b37df46f
parentea495c64d4b0e665861c9539d5b1cdfb2da30fd2 (diff)
downloadwebtrees-60d83af7638ee0db8f89826f3deb5068f0f2e295.tar.gz
webtrees-60d83af7638ee0db8f89826f3deb5068f0f2e295.tar.bz2
webtrees-60d83af7638ee0db8f89826f3deb5068f0f2e295.zip
Remove references to old files
-rw-r--r--includes/session.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/session.php b/includes/session.php
index 7f16b56576..619159046f 100644
--- a/includes/session.php
+++ b/includes/session.php
@@ -418,12 +418,12 @@ if (isset($_GET['show_context_help'])) {
if (!isset($_SESSION['wt_user'])) $_SESSION['wt_user'] = '';
if (WT_SCRIPT_NAME!='help_text.php') {
- if (!get_gedcom_setting(WT_GED_ID, 'imported') && substr(WT_SCRIPT_NAME, 0, 5)!=='admin' && !in_array(WT_SCRIPT_NAME, array('editconfig_gedcom.php', 'help_text.php', 'editgedcoms.php', 'downloadgedcom.php', 'login.php', 'addmedia.php', 'client.php', 'gedcheck.php', 'admin_users.php', 'export_gedcom.php', 'edit_changes.php', 'import.php', 'pgv_to_wt.php'))) {
+ if (!get_gedcom_setting(WT_GED_ID, 'imported') && substr(WT_SCRIPT_NAME, 0, 5)!=='admin' && !in_array(WT_SCRIPT_NAME, array('help_text.php', 'downloadgedcom.php', 'login.php', 'login_register.php', 'gedcheck.php', 'export_gedcom.php', 'edit_changes.php', 'import.php', 'message.php', 'pgv_to_wt.php'))) {
header('Location: '.WT_SERVER_NAME.WT_SCRIPT_PATH.'admin.php');
exit;
}
- if ($REQUIRE_AUTHENTICATION && !WT_USER_ID && !in_array(WT_SCRIPT_NAME, array('login.php', 'login_register.php', 'client.php', 'genservice.php', 'help_text.php', 'message.php'))) {
+ if ($REQUIRE_AUTHENTICATION && !WT_USER_ID && !in_array(WT_SCRIPT_NAME, array('login.php', 'login_register.php', 'help_text.php', 'message.php'))) {
if (!empty($_REQUEST['auth']) && $_REQUEST['auth']=='basic') {
// if user is attempting basic authentication
// TODO: Update if digest auth is ever implemented