diff options
| author | spiderr <spider@viovio.com> | 2013-11-20 11:43:44 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-11-20 11:43:44 -0500 |
| commit | d322e56d42952c0a061d042b71e29c890866f652 (patch) | |
| tree | b9f843ec53deea1a43589eac13568504a89adc19 /display_structure_inc.php | |
| parent | 1c16d113739a281f5dec944a2f0ade01eec07574 (diff) | |
| download | liberty-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.php | 2 |
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 ); |
