logout.php

来自「最近在做软交换时研究的一个软交换的东东」· PHP 代码 · 共 38 行

PHP
38
字号
<?php /* $Id: $ *///Copyright (C) 2004 Coalescent Systems Inc. (info@coalescentsystems.ca)////This program is free software; you can redistribute it and/or//modify it under the terms of the GNU General Public License//as published by the Free Software Foundation; either version 2//of the License, or (at your option) any later version.////This program is distributed in the hope that it will be useful,//but WITHOUT ANY WARRANTY; without even the implied warranty of//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the//GNU General Public License for more details.// start sessionsession_start();$title=_("freePBX administration");$message=_("Logged Out");require_once('functions.inc.php');// get settings$amp_conf = parse_amportal_conf("/etc/amportal.conf");// to do a logout, all session-variables will be deleted,// a variable 'logout' is added:$_SESSION = array('logout' => true);include 'header.php'; ?><p>	<br><br><br><br>	<h2><center> <?php echo _('You are now logged out.') ?> </center></h2>	<br><br><br><br>	<?php include 'footer.php'; ?></p>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?