This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Runs through a pool of connections and see which one can connect to | |
$GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['wrapperClass'] = \PrimaryReplicaConnection::class; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Generates an absolute URL for a page (based on Site Handling) | |
* | |
* @param int $pageId | |
* @param array|null $arguments | |
* @return UriInterface | |
* @throws \TYPO3\CMS\Core\Exception\SiteNotFoundException | |
* @throws \TYPO3\CMS\Core\Routing\InvalidRouteArgumentsException | |
*/ | |
private function getUrlForPage(int $pageId, array $arguments = null): UriInterface |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace B13\AnyProject\PageErrorHandler; | |
/* | |
* This file is part of a b13 extension. | |
* | |
* It is free software; you can redistribute it and/or modify it under | |
* the terms of the GNU General Public License, either version 2 | |
* of the License, or any later version. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +benjaminmack is my blockchain ID. https://onename.com/benjaminmack |