Commit 19f62ca8 authored by Daniel Hürtgen's avatar Daniel Hürtgen

[FEATURE] Overwrite core LockFactory

parent 4368db6a
<?php
defined('TYPO3_MODE') or die();
call_user_func(
function () {
if (! is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'])) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'] = [];
}
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][\TYPO3\CMS\Core\Locking\LockFactory::class] = [
'className' => \Higidi\Lock\LockFactory::class,
];
}
);
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