/** * Registers twitteroauth.php & OAuth.php */ public function registerScripts() { if (self::$registeredScripts) return; self::$registeredScripts = true; if($this->load_oauth) require dirname(__FILE__).'/OAuth.php'; require dirname(__FILE__).'/twitteroauth.php'; // require dirname(__FILE__).'/tmhOAuth.php'; require dirname(__FILE__).'/Codebird.php'; }
/** * Registers twitteroauth.php & OAuth.php */ public function registerScripts() { if (self::$registeredScripts) { return; } self::$registeredScripts = true; if ($this->load_oauth) { require dirname(__FILE__) . '/OAuth.php'; } require dirname(__FILE__) . '/twitteroauth.php'; }