Use Conf::get(base_uri) instead of hardcoded index.php for the service homepage URI
authorVivien Lacourba <vivien@w3.org>
Thu, 24 Oct 2013 14:31:07 +0200
changeset 423 05a7d2c336c5
parent 422 c5ba57927e1e
child 424 33edde45a868
Use Conf::get(base_uri) instead of hardcoded index.php for the service homepage URI
www/about.php
--- a/www/about.php	Thu Oct 24 11:19:38 2013 +0200
+++ b/www/about.php	Thu Oct 24 14:31:07 2013 +0200
@@ -25,7 +25,7 @@
 <h3 id="about">About this service</h3>
 
 <div class="bd compact">
-	<p>The <a href="index.php">W3C Internationalization Checker</a> is a
+	<p>The <a href="<?php echo Conf::get('base_uri') ?>">W3C Internationalization Checker</a> is a
 	free service by <acronym title="World Wide Web Consortium">W3C</acronym>
 	that provides information about internationalization features of your
 	page, and provides advice on how to improve your use of