diff --git a/index.php b/index.php index 6b9bd5c..be7c9d8 100644 --- a/index.php +++ b/index.php @@ -173,7 +173,9 @@ function getDbInfo($d, $info, $padding = '') { } else { $iframe = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], '?') + 1); - if (strpos($iframe, '&') !== false) { + if (strpos($iframe, '//') === 0 || strpos($iframe, 'http') === 0) { + $iframe = 'overview.php'; + } else if (strpos($iframe, '&') !== false) { $iframe = substr_replace($iframe, '.php?', strpos($iframe, '&'), 1); } else { $iframe .= '.php';