Example #1
0
    /**
    * 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';

	}	
Example #2
0
 /**
  * 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';
 }