diff options
author | Jo Michael <me@mynetx.net> | 2012-03-17 02:11:57 +0400 |
---|---|---|
committer | Jo Michael <me@mynetx.net> | 2012-03-17 02:11:57 +0400 |
commit | b2fd866d87abe49b7003393004dcec8805125362 (patch) | |
tree | c3593fe43dc230f17c983e460135071dc4d4371c /querywindow.php | |
parent | 3b56f6a53b1cb74319fe58308907371ea93f725d (diff) |
Leading ./ paths for includes can be omitted, part 2
Diffstat (limited to 'querywindow.php')
-rw-r--r-- | querywindow.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/querywindow.php b/querywindow.php index c9ae98ca3b..22df73bbf7 100644 --- a/querywindow.php +++ b/querywindow.php @@ -10,19 +10,19 @@ /** * */ -require_once './libraries/common.inc.php'; +require_once 'libraries/common.inc.php'; $is_superuser = PMA_isSuperuser(); /** * Gets a core script and starts output buffering work */ -require_once './libraries/sql_query_form.lib.php'; +require_once 'libraries/sql_query_form.lib.php'; /** * starts output buffering if requested and supported */ -require_once './libraries/ob.lib.php'; +require_once 'libraries/ob.lib.php'; PMA_outBufferPre(); /** @@ -33,7 +33,7 @@ $cfgRelation = PMA_getRelationsParam(); /** * load bookmark support */ -require_once './libraries/bookmark.lib.php'; +require_once 'libraries/bookmark.lib.php'; $querydisplay_tabs = array( 'sql', @@ -95,11 +95,11 @@ if ($no_js) { // ... we redirect to appropriate query sql page // works only full if $db and $table is also stored/grabbed from $_COOKIE if (strlen($table)) { - include './tbl_sql.php'; + include 'tbl_sql.php'; } elseif (strlen($db)) { - include './db_sql.php'; + include 'db_sql.php'; } else { - include './server_sql.php'; + include 'server_sql.php'; } exit; } @@ -145,9 +145,9 @@ if ($querydisplay_tab == 'sql' || $querydisplay_tab == 'full') { /** * start HTTP/HTML output */ -require_once './libraries/header_http.inc.php'; -require_once './libraries/header_meta_style.inc.php'; -require_once './libraries/header_scripts.inc.php'; +require_once 'libraries/header_http.inc.php'; +require_once 'libraries/header_meta_style.inc.php'; +require_once 'libraries/header_scripts.inc.php'; ?> </head> |