fixed regex
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2003-12-12 Garvin Hicking <juststayalittlebitlonger@supergarv.de>
|
||||||
|
* export.php: Fixed Regex
|
||||||
|
|
||||||
2003-12-11 Michal Cihar <imreallyaway@cihar.com>
|
2003-12-11 Michal Cihar <imreallyaway@cihar.com>
|
||||||
* libraries/export/sql.php: Fix moving foreign key definition on Windows
|
* libraries/export/sql.php: Fix moving foreign key definition on Windows
|
||||||
(bug #851950).
|
(bug #851950).
|
||||||
|
@@ -248,7 +248,7 @@ if ($save_on_server) {
|
|||||||
if (substr($cfg['SaveDir'], -1) != '/') {
|
if (substr($cfg['SaveDir'], -1) != '/') {
|
||||||
$cfg['SaveDir'] .= '/';
|
$cfg['SaveDir'] .= '/';
|
||||||
}
|
}
|
||||||
$save_filename = $cfg['SaveDir'] . preg_replace('@[/\\]@','_',$filename);
|
$save_filename = $cfg['SaveDir'] . preg_replace('@[/\\\\]@','_',$filename);
|
||||||
unset($message);
|
unset($message);
|
||||||
if (file_exists($save_filename) && empty($onserverover)) {
|
if (file_exists($save_filename) && empty($onserverover)) {
|
||||||
$message = sprintf($strFileAlreadyExists, htmlspecialchars($save_filename));
|
$message = sprintf($strFileAlreadyExists, htmlspecialchars($save_filename));
|
||||||
|
Reference in New Issue
Block a user