Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (55 sloc) 1.69 KB
/* vim: set expandtab sw=4 ts=4 sts=4: */
* Front controller for setup script
* @package PhpMyAdmin-Setup
* @license GNU GPL 2.0
* Core libraries.
require './lib/';
$page = filter_input(INPUT_GET, 'page');
$page = preg_replace('/[^a-z]/', '', $page);
if ($page === '') {
$page = 'index';
if (!file_exists("./setup/frames/$")) {
// it will happen only when entering URL by hand, we don't care for these cases
PMA_fatalError(__('Wrong GET file attribute value'));
// Handle done action info
$action_done = filter_input(INPUT_GET, 'action_done');
$action_done = preg_replace('/[^a-z_]/', '', $action_done);
<html xmlns="">
<meta charset="utf-8" />
<title>phpMyAdmin setup</title>
<link href="../favicon.ico" rel="icon" type="image/x-icon" />
<link href="../favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="styles.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/jquery/jquery-1.8.3.js"></script>
<script type="text/javascript" src="../js/jquery/jquery-ui-1.9.2.custom.js"></script>
<script type="text/javascript" src="../js/jquery/jquery.json-2.4.js"></script>
<script type="text/javascript" src="ajax.js"></script>
<script type="text/javascript" src="../js/config.js"></script>
<script type="text/javascript" src="scripts.js"></script>
<h1><span class="blue">php</span><span class="orange">MyAdmin</span> setup</h1>
<div id="menu">
require './setup/frames/';
<div id="page">
require "./setup/frames/$";
Jump to Line
Something went wrong with that request. Please try again.