summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-03-14 13:16:26 -0400
committerspiderr <spider@viovio.com>2013-03-14 13:16:26 -0400
commit64b41697c673d45104a5b80e92c0181e019ab771 (patch)
tree006ff71d0f1581f59df5a0cd58c61e0096dd9c3f /index.php
parent6293991447d07978f3700234d7c39a66f5c9f743 (diff)
downloadwiki-64b41697c673d45104a5b80e92c0181e019ab771.tar.gz
wiki-64b41697c673d45104a5b80e92c0181e019ab771.tar.bz2
wiki-64b41697c673d45104a5b80e92c0181e019ab771.zip
use setCanonicalLink
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.php b/index.php
index 47ba2b5..b2bd26e 100644
--- a/index.php
+++ b/index.php
@@ -44,5 +44,8 @@ if( !empty( $_REQUEST['structure_id'] ) ) {
}
include( WIKI_PKG_PATH.'lookup_page_inc.php' );
+ if( $gContent->isValid() ) {
+ $gBitSystem->setCanonicalLink( $gContent->getDisplayUri() );
+ }
include( WIKI_PKG_PATH.'display_bitpage_inc.php' );
}