sorry, wrong version checked in
[phpmyadmin/arisferyanto.git] / tbl_properties_common.php
blobc008a9f6e08771fbc0f5c5c527fc612a1417c327
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
6 /**
7 * Gets some core libraries
8 */
9 require_once('./libraries/common.lib.php');
10 require_once('./libraries/bookmark.lib.php');
12 // Check parameters
13 PMA_checkParameters(array('db','table'));
15 if ( PMA_MYSQL_INT_VERSION >= 50002 && $db === 'information_schema' ) {
16 $db_is_information_schema = true;
17 } else {
18 $db_is_information_schema = false;
21 /**
22 * Defines the urls to return to in case of error in a sql statement
24 $err_url_0 = $cfg['DefaultTabDatabase'] . '?' . PMA_generate_common_url($db);
25 $err_url = $cfg['DefaultTabTable'] . '?' . PMA_generate_common_url($db, $table);
28 /**
29 * Ensures the database and the table exist (else move to the "parent" script)
31 require_once('./libraries/db_table_exists.lib.php');
34 /**
35 * Displays headers
37 $js_to_run = 'functions.js';
38 require_once('./header.inc.php');
41 /**
42 * Set parameters for links
44 $url_query = PMA_generate_common_url($db, $table);