-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathext_localconf.php
35 lines (32 loc) · 1.49 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
defined('TYPO3_MODE') or die();
/**
* This file is part of the TYPO3 CMS extension.
* The extension name is: Cookie Consent Plus.
* The extension key is: cookieconsent_plus.
* Cookie Consent Plus extends dp_cookieconsent TYPO3 extension
* The developer is Davide Alghi (Abbiategrasso - Italy).
* Cookie Consent Plus Copyright (C) 2021 Davide Alghi.
* All Rights Reserved.
* Cookie Consent Plus is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* Cookie Consent Plus is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with Cookie Consent Plus. If not, see https://www.gnu.org/licenses/gpl-3.0.en.html.
* See the file LICENSE.md for copying conditions.
* Website: https://www.penguinable.it
*
* @category TYPO3
* @copyright 2021 Davide Alghi
* @author Davide Alghi <[email protected]>
* @license GPLv3
*/
// Overload the TYPO3\CMS\Core\Domain\Repository\PageRepository class
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][TYPO3\CMS\Core\Domain\Repository\PageRepository::class] = [
'className' => PAD\CookieconsentPlus\Xclass\PageRepository::class,
];