From 4a4039fdc4b1dd21ff3da2ee36cc426ceab1c91b Mon Sep 17 00:00:00 2001 From: Laurent Opprecht Date: Tue, 10 Apr 2012 15:57:24 +0200 Subject: [PATCH] Custom login page not displayed correctly when not run under root url --- custompages/index-unlogged.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/custompages/index-unlogged.php b/custompages/index-unlogged.php index ad0bdf9984..af865e4206 100644 --- a/custompages/index-unlogged.php +++ b/custompages/index-unlogged.php @@ -23,19 +23,21 @@ if (isset($_GET['loginFailed'])){ $error_message = get_lang('InvalidId'); } } + + $rootWeb = api_get_path('WEB_PATH'); ?> Custompage - login - + - +