This commit is contained in:
Steve Alberty
2001-08-04 14:18:58 +00:00
parent 0e038ac3d6
commit 7eac26503d
5 changed files with 9 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ if (isset($goto) && $goto == 'sql.php3') {
}
if (isset($btnDrop) && $btnDrop == $strNo) {
if (file_exists('./' . $goto)) {
include('./' . preg_replace('/\.\.*/', '.', $goto));
include('./' . ereg_replace('\.\.*', '.', $goto));
} else {
header('Location: ' . $goto);
}
@@ -161,7 +161,7 @@ else {
} else {
$message = $strEmptyResultSet;
}
$goto = preg_replace('/\.\.*/', '.', $goto);
$goto = ereg_replace('\.\.*', '.', $goto);
if ($goto != 'main.php3') {
include('./header.inc.php3');
}