aboutsummaryrefslogtreecommitdiffstats
path: root/include/section_init.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-03-02 15:28:43 +0000
committerplegall <plg@piwigo.org>2012-03-02 15:28:43 +0000
commit65bb5d44b61565e1896c51e58b0ccccf8bcda62c (patch)
tree5329e9585fbef95d8a53f9d93e4b434fab9941d5 /include/section_init.inc.php
parent7a28277196060df76ef20d8f411c87b645cd2dfb (diff)
feature 2368: better canonical URL for homepage
git-svn-id: http://piwigo.org/svn/trunk@13458 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/section_init.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 3ddfafa32..954561a2f 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -157,6 +157,7 @@ if ( !isset($page['section']) )
redirect($random_index_redirect[mt_rand(0, count($random_index_redirect)-1)]);
}
}
+ $page['is_homepage'] = true;
break;
}
default: