Skip to content
Snippets Groups Projects
Commit 19f62ca8 authored by Daniel Hürtgen's avatar Daniel Hürtgen
Browse files

[FEATURE] Overwrite core LockFactory

parent 4368db6a
Branches
Tags
No related merge requests found
<?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,
];
}
);
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