fix for #814, IS servers

This commit is contained in:
Diego Najar 2018-10-07 13:19:36 +02:00
parent 0657c55191
commit 78b5d83127
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<?php <?php
// Preload the first 10 files to not call via AJAX when the user open the first time the media manager // Preload the first 10 files to not call via AJAX when the user open the first time the media manager
if (IMAGE_RESTRICT) { if (IMAGE_RESTRICT) {
$imagesDirectory = (IMAGE_RELATIVE_TO_ABSOLUTE? '' : HTML_PATH_UPLOADS_PAGES.$uuid.DS); $imagesDirectory = (IMAGE_RELATIVE_TO_ABSOLUTE? '' : HTML_PATH_UPLOADS_PAGES.$uuid.'/');
$thumbnailDirectory = PATH_UPLOADS_PAGES.$uuid.DS.'thumbnails'.DS; $thumbnailDirectory = PATH_UPLOADS_PAGES.$uuid.DS.'thumbnails'.DS;
$thumbnailHTML = HTML_PATH_UPLOADS_PAGES.$uuid.'/thumbnails/'; $thumbnailHTML = HTML_PATH_UPLOADS_PAGES.$uuid.'/thumbnails/';
} else { } else {