[ Index ] |
|
Code source de eZ Publish 3.9.0 |
1 <?php 2 // 3 // Created on: <30-Apr-2002 12:41:17 bf> 4 // 5 // SOFTWARE NAME: eZ publish 6 // SOFTWARE RELEASE: 3.9.0 7 // BUILD VERSION: 17785 8 // COPYRIGHT NOTICE: Copyright (C) 1999-2006 eZ systems AS 9 // SOFTWARE LICENSE: GNU General Public License v2.0 10 // NOTICE: > 11 // This program is free software; you can redistribute it and/or 12 // modify it under the terms of version 2.0 of the GNU General 13 // Public License as published by the Free Software Foundation. 14 // 15 // This program is distributed in the hope that it will be useful, 16 // but WITHOUT ANY WARRANTY; without even the implied warranty of 17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 // GNU General Public License for more details. 19 // 20 // You should have received a copy of version 2.0 of the GNU General 21 // Public License along with this program; if not, write to the Free 22 // Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 23 // MA 02110-1301, USA. 24 // 25 // 26 27 include_once ( "lib/ezutils/classes/ezhttptool.php" ); 28 include_once ( "kernel/classes/datatypes/ezuser/ezuser.php" ); 29 30 $http =& eZHTTPTool::instance(); 31 32 $user =& eZUser::instance(); 33 34 // Remove all temporary drafts 35 include_once ( 'kernel/classes/ezcontentobject.php' ); 36 eZContentObject::cleanupAllInternalDrafts( $user->attribute( 'contentobject_id' ) ); 37 38 $user->logoutCurrent(); 39 40 $http->setSessionVariable( 'force_logout', 1 ); 41 42 $ini =& eZINI::instance(); 43 $redirectURL = $ini->variable( 'UserSettings', 'LogoutRedirect' ); 44 45 return $Module->redirectTo( $redirectURL ); 46 47 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sat Feb 24 10:30:04 2007 | par Balluche grâce à PHPXref 0.7 |