backwards compatibility
This commit is contained in:
@@ -136,7 +136,7 @@ if (isset($cfg['FileRevision'])) {
|
|||||||
} else {
|
} else {
|
||||||
$cfg['FileRevision'] = array(1, 1);
|
$cfg['FileRevision'] = array(1, 1);
|
||||||
}
|
}
|
||||||
if ($cfg['FileRevision'][0] < 2 || ($cfg['FileRevision'][0] == 2 && $cfg['FileRevision'][1] < 19)) {
|
if ($cfg['FileRevision'][0] < 2 || ($cfg['FileRevision'][0] == 2 && $cfg['FileRevision'][1] < 24)) {
|
||||||
require_once('./libraries/config_import.lib.php');
|
require_once('./libraries/config_import.lib.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1556,7 +1556,7 @@ if (typeof(document.getElementById) != 'undefined'
|
|||||||
if (isset($cfg['SQLQuery']['Refresh'])
|
if (isset($cfg['SQLQuery']['Refresh'])
|
||||||
&& $cfg['SQLQuery']['Refresh']
|
&& $cfg['SQLQuery']['Refresh']
|
||||||
&& preg_match('@^(SELECT|SHOW)[[:space:]]+@i', $local_query)) {
|
&& preg_match('@^(SELECT|SHOW)[[:space:]]+@i', $local_query)) {
|
||||||
|
|
||||||
$refresh_link = ' [<a href="sql.php'
|
$refresh_link = ' [<a href="sql.php'
|
||||||
. $url_qpart
|
. $url_qpart
|
||||||
. '&show_query=1'
|
. '&show_query=1'
|
||||||
|
Reference in New Issue
Block a user