Skip to content

Commit

Permalink
Relative path to connector route in ElFinderWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
rob006 committed Apr 14, 2014
1 parent ebfd12e commit 44095ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElFinderWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function run() {
// set required options
if (empty($this->connectorRoute))
throw new CException('$connectorRoute must be set!');
$this->settings['url'] = Yii::app()->createUrl($this->connectorRoute);
$this->settings['url'] = Yii::app()->controller->createUrl($this->connectorRoute);
$this->settings['lang'] = Yii::app()->language;

$id = $this->getId();
Expand Down

0 comments on commit 44095ef

Please sign in to comment.