Example #1
0
 /**
  * Create the session payload and load the session.
  *
  * @return void
  */
 public static function load()
 {
     $session = Config::get('session');
     static::start($session['storage']);
     static::$instance->load(Cookie::get($session['cookie']));
 }
 /**
  * Create the session payload and load the session.
  *
  * @return void
  */
 public static function load()
 {
     $conf = Registry::get('conf');
     static::start($conf['session']['storage']);
     static::$instance->load(Cookie::get($conf['session']['cookie']));
 }