changed redirect to http header instead of a meta in HTML
parent
a3c37494af
commit
0a3d0c8a28
|
@ -1,4 +1,4 @@
|
||||||
{
|
{
|
||||||
"STYLESHEET":"<link rel=\"stylesheet\" type=\"text\/css\" href=\"%CONTENT_DIR%\/style.css\">",
|
"STYLESHEET":"<link rel=\"stylesheet\" type=\"text\/css\" href=\"%CONTENT_DIR%\/style.css\">",
|
||||||
"REQUIRE_LOGIN":"if (!$login) { echo \"<!DOCTYPE html><html><head><meta http-equiv='refresh' content='0;%CONTENT_DIR%\/login\/' \/><\/head><body><p> Your browser seems to not support redirects. <br \/>Please klick the following link to continue: <a href='%CONTENT_DIR%\/login\/'> Go to login page... <\/a><\/p><\/body><\/html><!--\"; }"
|
"REQUIRE_LOGIN":"if (!$login) { header(\"Location: https:\/\/lsotcave.ddnss.de%CONTENT_DIR%\/login\/?error=session\"); die(); }"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue