aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-02-08 21:27:09 +0000
committerplegall <plg@piwigo.org>2012-02-08 21:27:09 +0000
commit9788bf8e7b4cdccacb4cd93201ecc982f1842d63 (patch)
tree94780a0a658dcc21fb4a8bdc28af188a6d875b4c
parent2ba1172344ac6030a7be287f4860f81e1c5e9a21 (diff)
feature 2368: also add canonical URL on index page.
git-svn-id: http://piwigo.org/svn/trunk@13062 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--index.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.php b/index.php
index 042d952e3..fee9584bc 100644
--- a/index.php
+++ b/index.php
@@ -89,6 +89,8 @@ if (isset($_GET['caddie']))
redirect(duplicate_index_url());
}
+$template->assign('U_CANONICAL', duplicate_index_url());
+
//----------------------------------------------------- template initialization
//
// Start output of page