Permalink
Browse files

Move common includes to root files rather than to library (which shou…

…ld not be lodaded separately) (issue #36)
  • Loading branch information...
nijel committed Apr 17, 2012
1 parent e80e5c5 commit c8b686577c409a6b085680ba834b57a847739cc0
Showing with 7 additions and 2 deletions.
  1. +0 −2 libraries/pmd_common.php
  2. +2 −0 pmd_display_field.php
  3. +1 −0 pmd_general.php
  4. +1 −0 pmd_pdf.php
  5. +1 −0 pmd_relation_new.php
  6. +1 −0 pmd_relation_upd.php
  7. +1 −0 pmd_save_pos.php
View
@@ -6,8 +6,6 @@
/**
*
*/
-require_once './libraries/common.inc.php';
-
if (! defined('PHPMYADMIN')) {
exit;
}
View
@@ -7,6 +7,8 @@
/**
*
*/
+require_once './libraries/common.inc.php';
+
require_once 'libraries/pmd_common.php';
View
@@ -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';
View
@@ -5,6 +5,7 @@
* @package PhpMyAdmin-Designer
*/
+require_once './libraries/common.inc.php';
require_once 'libraries/pmd_common.php';
/**
View
@@ -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';
View
@@ -8,6 +8,7 @@
/**
*
*/
+require_once './libraries/common.inc.php';
require_once 'libraries/pmd_common.php';
extract($_POST, EXTR_SKIP);
extract($_GET, EXTR_SKIP);
View
@@ -8,6 +8,7 @@
/**
*
*/
+require_once './libraries/common.inc.php';
require_once 'libraries/pmd_common.php';
$cfgRelation = PMA_getRelationsParam();

0 comments on commit c8b6865

Please sign in to comment.