Skip to content

Commit

Permalink
added missing modauth for modxcms#13292
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Bratke committed Feb 15, 2017
1 parent b82c4a4 commit ab3f1fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/model/modx/sources/modfilemediasource.class.php
Expand Up @@ -220,6 +220,8 @@ public function getContainerList($path) {

if (in_array($ext, $imagesExts)) {

$modAuth = $this->xpdo->user->getUserToken($this->xpdo->context->get('key'));

$imageWidth = $this->ctx->getOption('filemanager_image_width', 400);
$imageHeight = $this->ctx->getOption('filemanager_image_height', 300);
$thumbnailType = $this->getOption('thumbnailType', $properties, 'png');
Expand Down

0 comments on commit ab3f1fe

Please sign in to comment.