diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-10-25 11:20:15 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-10-25 11:20:15 +0000 |
| commit | 6038cc6f44a8b66eef2b33ae0717496f4c8ac7c2 (patch) | |
| tree | 85d106d57131e168784f2be69cf38941d3811438 /module_admin.php | |
| parent | bf40b22e8320356119ff49ddd1f1d625ca237aac (diff) | |
| download | webtrees-6038cc6f44a8b66eef2b33ae0717496f4c8ac7c2.tar.gz webtrees-6038cc6f44a8b66eef2b33ae0717496f4c8ac7c2.tar.bz2 webtrees-6038cc6f44a8b66eef2b33ae0717496f4c8ac7c2.zip | |
"Location:" header fields should contain absolute URIs
Diffstat (limited to 'module_admin.php')
| -rw-r--r-- | module_admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module_admin.php b/module_admin.php index d48fa3cbb5..506cc6a799 100644 --- a/module_admin.php +++ b/module_admin.php @@ -33,7 +33,7 @@ require 'includes/session.php'; require WT_ROOT.'includes/functions/functions_edit.php'; if (!WT_USER_GEDCOM_ADMIN) { - header("Location: login.php?url=module_admin.php"); + header('Location: '.WT_SERVER_NAME.WT_SCRIPT_PATH.'login.php?url='.WT_SCRIPT_NAME); exit; } |
