Skip to content

Commit 14f9c8e

Browse files
committed
Load the package lexicon in the constructor
1 parent b6627fa commit 14f9c8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/components/redirector/model/redirector/redirector.class.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ function __construct(modX &$modx,array $config = array()) {
2929
),$config);
3030

3131
$this->modx->addPackage('redirector',$this->config['modelPath']);
32+
33+
$lexicon = $this->modx->getService('lexicon', 'modLexicon');
34+
$lexicon->load('redirector:default');
3235
}
3336

3437
/**

0 commit comments

Comments
 (0)