use correct variable name
This commit is contained in:
@@ -682,10 +682,10 @@ function PMA_linkURL($url) {
|
|||||||
* @return string HTML code for javascript inclusion.
|
* @return string HTML code for javascript inclusion.
|
||||||
*/
|
*/
|
||||||
function PMA_includeJS($url) {
|
function PMA_includeJS($url) {
|
||||||
if (strpos($js_script_file, '?') === FALSE) {
|
if (strpos($url, '?') === FALSE) {
|
||||||
return '<script src="./js/' . $js_script_file . '?ts=' . filemtime('./js/' . $js_script_file) . '" type="text/javascript"></script>' . "\n";
|
return '<script src="./js/' . $url . '?ts=' . filemtime('./js/' . $url) . '" type="text/javascript"></script>' . "\n";
|
||||||
} else {
|
} else {
|
||||||
return '<script src="./js/' . $js_script_file . '" type="text/javascript"></script>' . "\n";
|
return '<script src="./js/' . $url . '" type="text/javascript"></script>' . "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user