vendor/linking-you/contao-redirecter/src/Resources/contao/config/config.php line 30

Open in your IDE?
  1. <?php
  2. /**
  3.  * LinkingYou/ContaoRedirecter
  4.  *
  5.  * Contao URL Redirector Extension for Contao Open Source CMS
  6.  *
  7.  * @copyright  Copyright (c) 2017, Frank Müller
  8.  * @author     Frank Müller <frank.mueller@linking-you.de>
  9.  * @license    http://opensource.org/licenses/lgpl-3.0.html LGPL
  10.  */
  11. /**
  12.  * Register hooks
  13.  */
  14. $GLOBALS['TL_HOOKS']['addCustomRegexp'][] = array('LinkingYou\\ContaoRedirecter\\Utils\\Regex''addRedirectSourceRegexp');
  15. /**
  16.  * Register models
  17.  */
  18. $GLOBALS['TL_MODELS']['tl_linkingyou_redirecter_redirects'] = \LinkingYou\ContaoRedirecter\Model\Redirect::class;
  19. /**
  20.  * Add back end modules
  21.  */
  22. array_insert($GLOBALS['BE_MOD']['system'], 99, array
  23. (
  24.     'linkingyou_redirecter' => array(
  25.         'tables' => array('tl_linkingyou_redirecter_redirects')
  26.     )
  27. ));