We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf75d0a commit c2a3019Copy full SHA for c2a3019
lib/Opauth/Opauth.php
@@ -53,7 +53,7 @@ public function __construct($config = array()){
53
require $this->env['LIB'].'OpauthStrategy.php';
54
require $this->env['STRATEGY'].$strategy['name'].'.php';
55
56
- $this->Strategy = new Facebook($this);
+ $this->Strategy = new $strategy['name']($this);
57
}
58
else{
59
trigger_error('Unsupported or undefined Opauth strategy - '.$this->env['strategy'], E_USER_ERROR);
0 commit comments