Skip to content

Commit 83355a8

Browse files
committed
More fixes to the manager pages
1 parent ffbdfe4 commit 83355a8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/components/twilio/src/Twilio.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,14 @@ public function __construct(modX &$modx, array $options = [])
4242
$this->options = array_merge([
4343
'namespace' => $this->namespace,
4444
'corePath' => $corePath,
45-
'modelPath' => $corePath . 'model/',
46-
'snippetsPath' => $corePath . 'elements/snippets/',
45+
'snippetsPath' => $corePath . 'src/Snippet/',
4746
'templatesPath' => $corePath . 'templates/',
4847
'assetsPath' => $assetsPath,
4948
'assetsUrl' => $assetsUrl,
5049
'jsUrl' => $assetsUrl . 'js/',
5150
'cssUrl' => $assetsUrl . 'css/',
52-
'connectorUrl' => $assetsUrl . 'connector.php'
5351
], $options);
5452

55-
$this->modx->addPackage('twilio', $this->getOption('modelPath'));
5653
$this->modx->lexicon->load('twilio:default');
5754
}
5855

0 commit comments

Comments
 (0)