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 /db_search.php | |
parent | 3b56f6a53b1cb74319fe58308907371ea93f725d (diff) |
Leading ./ paths for includes can be omitted, part 2
Diffstat (limited to 'db_search.php')
-rw-r--r-- | db_search.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/db_search.php b/db_search.php index 7c1ec19a6e..a669591b8a 100644 --- a/db_search.php +++ b/db_search.php @@ -11,7 +11,7 @@ /** * */ -require_once './libraries/common.inc.php'; +require_once 'libraries/common.inc.php'; $GLOBALS['js_include'][] = 'db_search.js'; $GLOBALS['js_include'][] = 'sql.js'; @@ -21,7 +21,7 @@ $GLOBALS['js_include'][] = 'jquery/timepicker.js'; /** * Gets some core libraries and send headers */ -require './libraries/db_common.inc.php'; +require 'libraries/db_common.inc.php'; /** * init @@ -94,7 +94,7 @@ if (empty($_REQUEST['field_str']) || ! is_string($_REQUEST['field_str'])) { $sub_part = ''; if ( $GLOBALS['is_ajax_request'] != true) { - include './libraries/db_info.inc.php'; + include 'libraries/db_info.inc.php'; echo '<div id="searchresults">'; } @@ -357,5 +357,5 @@ $alter_select /** * Displays the footer */ -require './libraries/footer.inc.php'; +require 'libraries/footer.inc.php'; ?> |