1 Star 0 Fork 0

edwinfound/phpmyadmin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
navigation.php 696 Bytes
一键复制 编辑 原始数据 按行查看 历史
Edwin Zhao 提交于 2015-04-12 15:23 +08:00 . init
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* the navigation frame - displays server, db and table selection tree
*
* @package PhpMyAdmin-Navigation
*/
// Include common functionalities
require_once './libraries/common.inc.php';
// Also initialises the collapsible tree class
require_once './libraries/navigation/Navigation.class.php';
// Do the magic
$response = PMA_Response::getInstance();
if ($response->isAjax()) {
$navigation = new PMA_Navigation();
$response->addJSON('message', $navigation->getDisplay());
} else {
$response->addHTML(
PMA_Message::error(
__('Fatal error: The navigation can only be accessed via AJAX')
)
);
}
?>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/edwinfound/phpmyadmin.git
git@gitee.com:edwinfound/phpmyadmin.git
edwinfound
phpmyadmin
phpmyadmin
master

搜索帮助