Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: MAINT_3_1_5
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (48 sloc) 1.675 kb
* Front controller for setup script
* @package phpMyAdmin-setup
* @author Piotr Przybylski <>
* @copyright Copyright (c) 2008, Piotr Przybylski <>
* @license GNU GPL 2.0
* @version $Id$
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 enterung URL by hand, we don't care for these cases
die('Wrong GET file attribute value');
// send no-cache headers
require './libraries/';
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>phpMyAdmin <?php echo $_SESSION['PMA_Config']->get('PMA_VERSION'); ?> 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/mootools.js"></script>
<script type="text/javascript" src="scripts.js"></script>
<h1><span class="blue">php</span><span class="orange">MyAdmin</span> <?php echo $_SESSION['PMA_Config']->get('PMA_VERSION'); ?> 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.