[BUGFIX] Add missing categories menu utility
[Packages/TYPO3.CMS.git] / typo3 / thumbs.php
index af0b6cd..57f32ea 100644 (file)
 
 // Set error reporting
 error_reporting(E_ALL & ~(E_STRICT | E_NOTICE | E_DEPRECATED));
-require 'init.php';
+require __DIR__ . '/init.php';
 
-// include thumbs script
-require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('backend') . 'Classes/View/ThumbnailView.php';
 // Make instance:
 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Backend\\View\\ThumbnailView');
 $SOBE->init();