Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo Michael <me@mynetx.net>2012-03-17 02:11:57 +0400
committerJo Michael <me@mynetx.net>2012-03-17 02:11:57 +0400
commitb2fd866d87abe49b7003393004dcec8805125362 (patch)
treec3593fe43dc230f17c983e460135071dc4d4371c /db_sql.php
parent3b56f6a53b1cb74319fe58308907371ea93f725d (diff)
Leading ./ paths for includes can be omitted, part 2
Diffstat (limited to 'db_sql.php')
-rw-r--r--db_sql.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/db_sql.php b/db_sql.php
index 5c64af77b6..23c1c64162 100644
--- a/db_sql.php
+++ b/db_sql.php
@@ -8,7 +8,7 @@
/**
*
*/
-require_once './libraries/common.inc.php';
+require_once 'libraries/common.inc.php';
/**
* Runs common work
@@ -19,8 +19,8 @@ $GLOBALS['js_include'][] = 'sql.js';
$GLOBALS['js_include'][] = 'codemirror/lib/codemirror.js';
$GLOBALS['js_include'][] = 'codemirror/mode/mysql/mysql.js';
-require './libraries/db_common.inc.php';
-require_once './libraries/sql_query_form.lib.php';
+require 'libraries/db_common.inc.php';
+require_once 'libraries/sql_query_form.lib.php';
// After a syntax error, we return to this script
// with the typed query in the textarea.
@@ -45,11 +45,11 @@ foreach ($get_params as $one_get_param) {
* Gets informations about the database and, if it is empty, move to the
* "db_structure.php" script where table can be created
*/
-require './libraries/db_info.inc.php';
+require 'libraries/db_info.inc.php';
if ($num_tables == 0 && empty($db_query_force)) {
$sub_part = '';
$is_info = true;
- include './db_structure.php';
+ include 'db_structure.php';
exit();
}
@@ -61,5 +61,5 @@ PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ? htmlspecialchars($
/**
* Displays the footer
*/
-require './libraries/footer.inc.php';
+require 'libraries/footer.inc.php';
?>