From 746b28d261f0e5d952c805c1160423ec5f5b9775 Mon Sep 17 00:00:00 2001 From: Dayson Pais Date: Mon, 22 Jul 2013 15:06:44 +0530 Subject: [PATCH] Converted all URLs to be truly relative using the $base_url variable to render all URLs. --- index.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/index.php b/index.php index c03501b..dcee4d6 100644 --- a/index.php +++ b/index.php @@ -66,7 +66,7 @@ software, even if advised of the possibility of such damage. require_once('libs/functions.php'); $options = get_options(); -$tree = get_tree("docs"); +$tree = get_tree("docs", $base_url); $homepage_url = homepage_url($tree); $docs_url = docs_url($tree); @@ -87,9 +87,9 @@ if ($homepage && $homepage_url !== '/') { - + img/favicon.png" type="image/x-icon"> - + @@ -104,20 +104,20 @@ if ($homepage && $homepage_url !== '/') { $v) { ?> @: ; - @import "less/import/daux-base.less"; + @import "/less/import/daux-base.less"; - + - + - + - + @@ -128,7 +128,7 @@ if ($homepage && $homepage_url !== '/') {