Eccola:
Codice PHP:
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* <code>
* N N OOO !! DDDD OOO N N OOO TTTTT EEEE DDDD I TTTTT !!
* NN N O O !! D D O O NN N O O T E D D I T !!
* N N N O O !! D D O O N N N O O T EEEE D D I T !!
* N NN O O D D O O N NN O O T E D D I T
* N N OOO !! DDDD OOO N N OOO T EEEE DDDD I T !!
* </code>
*
* DO NOT EDIT THIS FILE, EDIT config.inc.php INSTEAD !!!
*
* phpMyAdmin default configuration, you can copy values from here to your
* config.inc.php
*
* All directives are explained in Documentation.html
*
* @version $Id: config.default.php 10556 2007-08-11 13:11:31Z lem9 $
*/
/**
* Your phpMyAdmin URL.
*
* Complete the variable below with the full URL ie
* [url]http://www.your_web.net/path_to_your_phpMyAdmin_directory/[/url]
*
* It must contain characters that are valid for a URL, and the path is
* case sensitive on some Web servers, for example Unix-based servers.
*
* In most cases you can leave this variable empty, as the correct value
* will be detected automatically. However, we recommend that you do
* test to see that the auto-detection code works in your system. A good
* test is to browse a table, then edit a row and save it. There will be
* an error message if phpMyAdmin cannot auto-detect the correct value.
*
* @global string $cfg['PmaAbsoluteUri']
*/
$cfg['PmaAbsoluteUri'] = 'http://engel89.altervista.org/myadmin/';
/**
* Disable the default warning that is displayed on the DB Details Structure page if
* any of the required Tables for the relation features could not be found
*
* @global boolean $cfg['PmaNoRelation_DisableWarning']
*/
$cfg['PmaNoRelation_DisableWarning'] = false;
/**
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
* at least one server configuration uses 'cookie' auth_type, enter here a
* pass phrase that will be used by blowfish. The maximum length seems to be 46
* characters.
*
* @global string $cfg['blowfish_secret']
*/
$cfg['blowfish_secret'] = '';
/*******************************************************************************
* Server(s) configuration
*
* The $cfg['Servers'] array starts with $cfg['Servers'][1]. Do not use
* $cfg['Servers'][0]. You can disable a server configuration entry by setting host
* to ''. If you want more than one server, just copy following section
* (including $i incrementation) several times. There is no need to define
* full server array, just define values you need to change.
*
* @global array $cfg['Servers']
*/
$cfg['Servers'] = array();
$i = 1;
/**
* MySQL hostname or IP address
*
* @global string $cfg['Servers'][$i]['host']
*/
$cfg['Servers'][$i]['host'] = 'localhost';
/**
* MySQL port - leave blank for default port
*
* @global string $cfg['Servers'][$i]['port']
*/
$cfg['Servers'][$i]['port'] = '';
/**
* Path to the socket - leave blank for default socket
*
* @global string $cfg['Servers'][$i]['socket']
*/
$cfg['Servers'][$i]['socket'] = '';
/**
* Use SSL for connecting to MySQL server?
*
* @global boolean $cfg['Servers'][$i]['ssl']
*/
$cfg['Servers'][$i]['ssl'] = false;
/**
* How to connect to MySQL server ('tcp' or 'socket')
*
* @global string $cfg['Servers'][$i]['connect_type']
*/
$cfg['Servers'][$i]['connect_type'] = 'tcp';
/**
* The PHP MySQL extension to use ('mysql' or 'mysqli')
*
* @global string $cfg['Servers'][$i]['extension']
*/
$cfg['Servers'][$i]['extension'] = 'mysql';
/**
* Use compressed protocol for the MySQL connection (requires PHP >= 4.3.0)
*
* @global boolean $cfg['Servers'][$i]['compress']
*/
$cfg['Servers'][$i]['compress'] = false;
/**
* MySQL control user settings (this user must have read-only
*
* @global string $cfg['Servers'][$i]['controluser']
*/
$cfg['Servers'][$i]['controluser'] = '';
/**
* access to the "mysql/user" and "mysql/db" tables). The controluser is also
* used for all relational features (pmadb)
*
* @global string $cfg['Servers'][$i]['controlpass']
*/
$cfg['Servers'][$i]['controlpass'] = '';
/**
* Authentication method (valid choices: config, http, signon or cookie)
*
* @global string $cfg['Servers'][$i]['auth_type']
*/
$cfg['Servers'][$i]['auth_type'] = 'config';
/**
* MySQL user
*
* @global string $cfg['Servers'][$i]['user']
*/
$cfg['Servers'][$i]['user'] = 'root';
/**
* MySQL password (only needed with 'config' auth_type)
*
* @global string $cfg['Servers'][$i]['password']
*/
$cfg['Servers'][$i]['password'] = '*****;
/**
* Session to use for 'signon' authentication method
*
* @global string $cfg['Servers'][$i]['SignonSession']
*/
$cfg['Servers'][$i]['SignonSession'] = '';
/**
* URL where to redirect user to login for 'signon' authentication method
*
* @global string $cfg['Servers'][$i]['SignonURL']
*/
$cfg['Servers'][$i]['SignonURL'] = '';
/**
* URL where to redirect user after logout
*
* @global string $cfg['Servers'][$i]['LogoutURL']
*/
$cfg['Servers'][$i]['LogoutURL'] = '';
/**
* Whether to try to connect without password
*
* @global boolean $cfg['Servers'][$i]['nopassword']
*/
$cfg['Servers'][$i]['nopassword'] = false;
/**
* If set to a db-name, only this db is displayed in left frame
* It may also be an array of db-names, where sorting order is relevant.
*
* @global string $cfg['Servers'][$i]['only_db']
*/
$cfg['Servers'][$i]['only_db'] = '';
/**
* Database name to be hidden from listings
*
* @global string $cfg['Servers'][$i]['hide_db']
*/
$cfg['Servers'][$i]['hide_db'] = '';
/**
* Verbose name for this host - leave blank to show the hostname
* (for HTTP authentication, all non-US-ASCII characters will be stripped)
*
* @global string $cfg['Servers'][$i]['verbose']
*/
$cfg['Servers'][$i]['verbose'] = '';
/**
* Database used for Relation, Bookmark and PDF Features
* (see scripts/create_tables.sql)
* - leave blank for no support
* DEFAULT: 'phpmyadmin'
*
* @global string $cfg['Servers'][$i]['pmadb']
*/
$cfg['Servers'][$i]['pmadb'] = '';
/**
* Bookmark table
* - leave blank for no bookmark support
* DEFAULT: 'pma_bookmark'
*
* @global string $cfg['Servers'][$i]['bookmarktable']
*/
$cfg['Servers'][$i]['bookmarktable'] = '';
/**
* table to describe the relation between links (see doc)
* - leave blank for no relation-links support
* DEFAULT: 'pma_relation'
*
* @global string $cfg['Servers'][$i]['relation']
*/
$cfg['Servers'][$i]['relation'] = '';
/**
* table to describe the display fields
* - leave blank for no display fields support
* DEFAULT: 'pma_table_info'
*
* @global string $cfg['Servers'][$i]['table_info']
*/
$cfg['Servers'][$i]['table_info'] = '';
/**
* table to describe the tables position for the PDF schema
* - leave blank for no PDF schema support
* DEFAULT: 'pma_table_coords'
*
* @global string $cfg['Servers'][$i]['table_coords']
*/
$cfg['Servers'][$i]['table_coords'] = '';
/**
* table to describe pages of relationpdf
* - leave blank if you don't want to use this
* DEFAULT: 'pma_pdf_pages'
*
* @global string $cfg['Servers'][$i]['pdf_pages']
*/
$cfg['Servers'][$i]['pdf_pages'] = '';
/**
* table to store column information
* - leave blank for no column comments/mime types
* DEFAULT: 'pma_column_info'
*
* @global string $cfg['Servers'][$i]['column_info']
*/
$cfg['Servers'][$i]['column_info'] = '';
/**
* table to store SQL history
* - leave blank for no SQL query history
* DEFAULT: 'pma_history'
*
* @global string $cfg['Servers'][$i]['history']
*/
$cfg['Servers'][$i]['history'] = '';
/**
* table to store the coordinates for Designer
* - leave blank for no Designer feature
* DEFAULT: 'pma_designer_coords'
*
* @global string $cfg['Servers'][$i]['designer_coords']
*/
$cfg['Servers'][$i]['designer_coords'] = '';
/**
* set to false if you know that your pma_* tables are up to date.
* This prevents compatibility checks and thereby increases performance.
*
* @global boolean $cfg['Servers'][$i]['verbose_check']
*/
$cfg['Servers'][$i]['verbose_check'] = true;
/**
* whether to allow root login
*
* @global boolean $cfg['Servers'][$i]['AllowRoot']
*/
$cfg['Servers'][$i]['AllowRoot'] = true;