fixed invalid HTTP Location header (relative to absolute)
This commit is contained in:
parent
0c5144d48e
commit
2664732fb3
1 changed files with 1 additions and 1 deletions
|
@ -24,6 +24,6 @@
|
|||
* along with volkszaehler.org. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
header('Location: frontend/');
|
||||
header('Location: ' . ((isset($_SERVER['HTTPS'])) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']) . '/frontend/');
|
||||
|
||||
?>
|
||||
|
|
Loading…
Add table
Reference in a new issue