From f3a891e629be01d6c5459e9d538e1511bdfdd1c4 Mon Sep 17 00:00:00 2001 From: Pathologic Date: Tue, 9 Mar 2021 22:58:46 +0300 Subject: [PATCH] fix --- assets/snippets/phpthumb/snippet.phpthumb.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/snippets/phpthumb/snippet.phpthumb.php b/assets/snippets/phpthumb/snippet.phpthumb.php index 3ce05b2e9a..a71248308e 100755 --- a/assets/snippets/phpthumb/snippet.phpthumb.php +++ b/assets/snippets/phpthumb/snippet.phpthumb.php @@ -93,7 +93,7 @@ $outputFilename = MODX_BASE_PATH . $fNamePref . $fName . $fNameSuf; if (!file_exists($outputFilename)) { if (!class_exists('phpthumb')) { - require_once MODX_BASE_PATH . $phpThumbPath . '/phpthumb.class.php'; + require_once MODX_BASE_PATH . $phpThumbPath . '/vendor/autoload.php'; } $phpThumb = new phpthumb(); $phpThumb->config_cache_directory = MODX_BASE_PATH . $defaultCacheFolder;