Skip to content

Commit

Permalink
use https
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisxrow authored May 16, 2017
1 parent 4e5565a commit fbc7c86
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions classes/plugins/standardplugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ function addVideo( eZContentObjectTreeNode $node )
if ( $ini->hasVariable( 'SitemapSettings', 'ImageAlias' ) )
{
$aliasdata = $imagedata->attribute( $ini->variable( 'SitemapSettings', 'ImageAlias' ) );
$video->thumbnail_loc = 'http://' . xrowSitemapTools::domain() . '/' . $aliasdata['url'];
$video->thumbnail_loc = 'https://' . xrowSitemapTools::domain() . '/' . $aliasdata['url'];
}
else
{
$aliasdata = $imagedata->attribute( 'original' );
$video->thumbnail_loc = 'http://' . xrowSitemapTools::domain() . '/' . $aliasdata['url'];
$video->thumbnail_loc = 'https://' . xrowSitemapTools::domain() . '/' . $aliasdata['url'];
}
}
break;
Expand All @@ -120,15 +120,15 @@ function addVideo( eZContentObjectTreeNode $node )
{
$content = $attribute->content();
$uri = "content/download/" . $attribute->attribute( 'contentobject_id' ) . '/' . $content->attribute( 'contentobject_attribute_id' ) . '/' . $content->attribute( 'original_filename' );
$video->content_loc = 'http://' . xrowSitemapTools::domain() . '/' . $uri;
$video->content_loc = 'https://' . xrowSitemapTools::domain() . '/' . $uri;
}
break;
case 'xrowvideo':
if ( $attribute->hasContent() )
{
$content = $attribute->content();
$uri = "content/download/" . $content["media"]->attribute->ContentObjectID . '/' . $content["media"]->attribute->ID . '/' . $content["binary"]->OriginalFilename ;
$video->content_loc = 'http://' . xrowSitemapTools::domain() . '/' . $uri;
$video->content_loc = 'https://' . xrowSitemapTools::domain() . '/' . $uri;
$video->duration = (int) $content["video"]["duration"];
}
break;
Expand Down Expand Up @@ -170,12 +170,12 @@ function addImage( eZContentObjectTreeNode $node )
if ( $ini->hasVariable( 'SitemapSettings', 'ImageAlias' ) )
{
$aliasdata = $imagedata->attribute( $ini->variable( 'SitemapSettings', 'ImageAlias' ) );
$image->url = 'http://' . xrowSitemapTools::domain() . '/' . $aliasdata['url'];
$image->url = 'https://' . xrowSitemapTools::domain() . '/' . $aliasdata['url'];
}
else
{
$aliasdata = $imagedata->attribute( 'original' );
$image->url = 'http://' . xrowSitemapTools::domain() . '/' . $aliasdata['url'];
$image->url = 'https://' . xrowSitemapTools::domain() . '/' . $aliasdata['url'];
}
if ( $imagedata->attribute( 'alternative_text' ) )
{
Expand Down

0 comments on commit fbc7c86

Please sign in to comment.