changed redirect to http header instead of a meta in HTML

master
Jan Danielzick 2020-03-08 17:46:15 +01:00
parent a3c37494af
commit 0a3d0c8a28
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{
"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(); }"
}