1 Star 4 Fork 1

白菜酱 / BigView

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
delfile.php 523 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
白菜酱 提交于 2014-08-22 16:41 . open to public
<?php
if (!defined("IN_ACE") || !($aceman->is_login())) die("Forbidden.");
if (!isset($_GET['filetype']) || !isset($_GET['location'])) die("Forbidden.");
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>提示</title>
<?php
if ($_GET['filetype'] == "file") {
$aceman->del_file($_GET['location']);
}
else if ($_GET['filetype'] == "hdfs") {
$aceman->hdfs_del($_GET['location']);
}
else if ($_GET['filetype'] == "chart") {
$aceman->remove_chart($_GET['location']);
}
alertAndBack("删除成功!");
?>
PHP
1
https://gitee.com/xm1994/BigView.git
git@gitee.com:xm1994/BigView.git
xm1994
BigView
BigView
master

搜索帮助

14c37bed 8189591 565d56ea 8189591