Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
Tweaking path config of riiak
Browse files Browse the repository at this point in the history
  • Loading branch information
intel352 committed Mar 6, 2012
1 parent bf25fb0 commit 5bc8a75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion drivers/riak/Adapter.php
Expand Up @@ -4,7 +4,9 @@

use \Yii;

Yii::setPathOfAlias('riiak', Yii::getPathOfAlias('ext.activedocument.vendors.riiak'));
if(!Yii::getPathOfAlias('riiak')) {
Yii::setPathOfAlias('riiak', Yii::getPathOfAlias('ext.activedocument.vendors.riiak'));
}

/**
* @property string $host
Expand Down

0 comments on commit 5bc8a75

Please sign in to comment.