$config['root_url'] now needs trailing slash!
This commit is contained in:
parent
68006814cc
commit
0646016859
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
return [
|
||||
'root_url' => '/public',
|
||||
'root_url' => '/public/',
|
||||
'database' => [
|
||||
'name' => 'mysql',
|
||||
'args' => [
|
||||
|
@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><?=htmlspecialchars($title);?> – Stafett for livet</title>
|
||||
|
||||
<link rel="stylesheet" href="<?=$this->config['root_url']?>/static/style/main.css">
|
||||
<link rel="stylesheet" href="<?=$this->config['root_url']?>static/style/main.css">
|
||||
<body>
|
||||
|
||||
<div id="header">
|
||||
@ -18,7 +18,7 @@
|
||||
<div id="menu">
|
||||
<small>
|
||||
<span>Ikke pålogget</span>
|
||||
<a href="<?=$this->config['root_url']?>/login.php">Logg inn</a>
|
||||
<a href="<?=$this->config['root_url']?>login.php">Logg inn</a>
|
||||
</small>
|
||||
</div>
|
||||
|
||||
@ -28,8 +28,8 @@
|
||||
|
||||
<div id="nav">
|
||||
<ul>
|
||||
<li><a href="<?=$this->config['root_url']?>/index.php">Forside</a></li>
|
||||
<li><a href="<?=$this->config['root_url']?>/login.php">Logg inn</a></li>
|
||||
<li><a href="<?=$this->config['root_url']?>index.php">Forside</a></li>
|
||||
<li><a href="<?=$this->config['root_url']?>login.php">Logg inn</a></li>
|
||||
<li><a href="<?=$this->config['root_url']?>">Eksempel</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user