Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Commit

Permalink
update for Ding
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Jan 30, 2016
1 parent 4d97f46 commit d7b741c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ static function initialize(){
}
static function getInstance(){
if(!isset(self::$instance)){
if(class_exists('RedCat\Wire\Di'))
self::$instance = \RedCat\Wire\Di::getInstance()->create(__CLASS__);
if(class_exists('RedCat\Ding\Di'))
self::$instance = \RedCat\Ding\Di::getInstance()->create(__CLASS__);
else
self::$instance = new self;
}
Expand Down

0 comments on commit d7b741c

Please sign in to comment.