Ejemplo n.º 1
0
 /**
  * Logs-out the user
  *
  * @return void
  */
 function logout()
 {
     // needed for IE6 to accept this anti-spam cookie in higher security setting:
     header('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
     // Perform CMS logout, which will destroy the session:
     $this->_baseFramework->logout();
     // Restart the session since it has been destroyed:
     JFactory::getSession()->restart();
     // Save the new session to storage:
     $this->_baseFramework->checkSession();
 }
 function logout()
 {
     header('P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"');
     // needed for IE6 to accept this anti-spam cookie in higher security setting.
     $this->_baseFramework->logout();
 }