summaryrefslogtreecommitdiff
path: root/display_structure_inc.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2013-11-20 11:43:44 -0500
committerspiderr <spider@viovio.com>2013-11-20 11:43:44 -0500
commitd322e56d42952c0a061d042b71e29c890866f652 (patch)
treeb9f843ec53deea1a43589eac13568504a89adc19 /display_structure_inc.php
parent1c16d113739a281f5dec944a2f0ade01eec07574 (diff)
downloadliberty-d322e56d42952c0a061d042b71e29c890866f652.tar.gz
liberty-d322e56d42952c0a061d042b71e29c890866f652.tar.bz2
liberty-d322e56d42952c0a061d042b71e29c890866f652.zip
change canonical to be configurable
Diffstat (limited to 'display_structure_inc.php')
-rw-r--r--display_structure_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/display_structure_inc.php b/display_structure_inc.php
index ad57084..9e0f738 100644
--- a/display_structure_inc.php
+++ b/display_structure_inc.php
@@ -15,7 +15,7 @@ global $gContent;
include_once( LIBERTY_PKG_PATH.'lookup_content_inc.php' );
if( is_object( $gContent ) && $gContent->isValid() ) {
$gBitSystem->setBrowserTitle( $gStructure->getRootTitle().' : '.$gContent->getTitle() );
- $gBitSystem->setCanonicalLink( $gContent->getDisplayUri() );
+ $gBitSystem->setCanonicalLink( $gContent->getDisplayUrl() );
include $gContent->getRenderFile();
} else {
$gBitSystem->fatalError( tra( 'Page cannot be found' ), NULL, NULL, HttpStatusCodes::HTTP_GONE );