Custom login page not displayed correctly when not run under root url

skala
Laurent Opprecht 14 years ago
parent 289d6bf647
commit 4a4039fdc4
  1. 6
      custompages/index-unlogged.php

@ -23,19 +23,21 @@ if (isset($_GET['loginFailed'])){
$error_message = get_lang('InvalidId');
}
}
$rootWeb = api_get_path('WEB_PATH');
?>
<html>
<head>
<title>Custompage - login</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--[if !IE 6]><!-->
<link rel="stylesheet" type="text/css" href="custompages/style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $rootWeb ?>custompages/style.css" />
<!--<![endif]-->
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="/custompages/style-ie6.css" />
<![endif]-->
<script type="text/javascript" src="custompages/jquery-1.5.1.min.js"></script>
<script type="text/javascript" src="<?php echo $rootWeb ?>custompages/jquery-1.5.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {

Loading…
Cancel
Save