Skip to content

Commit

Permalink
Move common includes to root files rather than to library (which shou…
Browse files Browse the repository at this point in the history
…ld not be lodaded separately) (issue #36)
  • Loading branch information
nijel committed Apr 17, 2012
1 parent e80e5c5 commit c8b6865
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libraries/pmd_common.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
/**
*
*/
require_once './libraries/common.inc.php';

if (! defined('PHPMYADMIN')) {
exit;
}
Expand Down
2 changes: 2 additions & 0 deletions pmd_display_field.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
/**
*
*/
require_once './libraries/common.inc.php';

require_once 'libraries/pmd_common.php';


Expand Down
1 change: 1 addition & 0 deletions pmd_general.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/**
*
*/
require_once './libraries/common.inc.php';
require_once 'libraries/pmd_common.php';
require 'libraries/db_common.inc.php';
require 'libraries/db_info.inc.php';
Expand Down
1 change: 1 addition & 0 deletions pmd_pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* @package PhpMyAdmin-Designer
*/

require_once './libraries/common.inc.php';
require_once 'libraries/pmd_common.php';

/**
Expand Down
1 change: 1 addition & 0 deletions pmd_relation_new.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/**
*
*/
require_once './libraries/common.inc.php';
require_once 'libraries/pmd_common.php';
$die_save_pos = 0;
require_once 'pmd_save_pos.php';
Expand Down
1 change: 1 addition & 0 deletions pmd_relation_upd.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/**
*
*/
require_once './libraries/common.inc.php';
require_once 'libraries/pmd_common.php';
extract($_POST, EXTR_SKIP);
extract($_GET, EXTR_SKIP);
Expand Down
1 change: 1 addition & 0 deletions pmd_save_pos.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
/**
*
*/
require_once './libraries/common.inc.php';
require_once 'libraries/pmd_common.php';

$cfgRelation = PMA_getRelationsParam();
Expand Down

0 comments on commit c8b6865

Please sign in to comment.