Commit 18c398d0 authored by sgalinsk's avatar sgalinsk

[BUGFIX] Typo3 6.2 compatibility

Fixes: #59011


git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/pmkshadowbox/trunk@85417 735d13b6-9817-0410-8766-e36946ffe9aa
parent 2ab22d5e
<?php
/***************************************************************
* Copyright notice
*
......@@ -25,7 +26,9 @@
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
require_once(PATH_typo3 . 'interfaces/interface.backend_cacheActionsHook.php');
if (!t3lib_div::compat_version('6.2.0')) {
require_once(PATH_typo3 . 'interfaces/interface.backend_cacheActionsHook.php');
}
/**
* Extending class to render the menu for the cache clearing actions,
......@@ -69,4 +72,5 @@ if (defined(
) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/pmkshadowbox/classes/class.tx_pmkshadowbox_clearcachemenu.php']);
}
?>
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment