uninstall.php
<?php
/*
* 应用卸载程序示例
* @copyright Leyun internet Technology(Shanghai)Co.,Ltd
* @license http://www.dzzoffice.com/licenses/license.txt
* @package DzzOffice
* @version DzzOffice 1.1 2014.07.05
* @link http://www.dzzoffice.com
* @author zyx([email protected])
*/
if(!defined('IN_DZZ') || !defined('IN_ADMIN')) {
exit('Access Denied');
}
//提示用户删除的严重程度
if($_GET['confirm']=='DELETE'){
include DZZ_ROOT.'./dzz/test/uninstall_real.php';
}else{
$url='index.php?mod=test&appid='.$appid.'&op=uninstall_confirm&adminurl='.urlencode($request_uri);
header("Location: $url");
exit();
}
更多建议: