1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

functions.js included automatically

This commit is contained in:
Marc Delisle
2010-07-24 08:11:48 -04:00
parent aec1adb0e0
commit 084c0dbcf5
23 changed files with 1 additions and 33 deletions

View File

@@ -545,10 +545,6 @@ if (0 == $num_rows || $is_affected) {
$goto = 'main.php';
}
// Loads to target script
if (strpos($goto, 'db_') === 0
|| strpos($goto, 'tbl_') === 0) {
$GLOBALS['js_include'][] = 'functions.js';
}
if ($goto != 'main.php') {
require_once './libraries/header.inc.php';
}
@@ -573,7 +569,6 @@ else {
if (isset($printview) && $printview == '1') {
require_once './libraries/header_printview.inc.php';
} else {
$GLOBALS['js_include'][] = 'functions.js';
unset($message);
if (strlen($table)) {
require './libraries/tbl_common.php';