Ejemplo n.º 1
0
 /**
  * Identical to the parent constructor, except that
  * we start a PHP session to store the user ID and
  * access token if during the course of execution
  * we discover them.
  *
  * @param Array $config the application configuration.
  * @see RennClient::__construct in RennClient.php
  */
 public function __construct($clientId, $clientSecret)
 {
     if (!session_id()) {
         session_start();
     }
     parent::__construct($clientId, $clientSecret);
 }