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;