Path must use "\" under winwin

This commit is contained in:
Loïc Chapeaux
2002-05-25 16:29:36 +00:00
parent 2984ef3eef
commit e6688293f0
2 changed files with 3 additions and 1 deletions

View File

@@ -18,6 +18,7 @@ $Source$
- removed an "onchange" js handler to lower server charge.
* pdf_schema.php3; fpdf/*; libraries/fpdf/*: moved the "fpdf" directory in
the "libraries" one.
* read_dump.php3, lines 255-256: path must use "\" under winwin.
2002-05-25 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/italian.inc.php3: Updates, thanks again to

View File

@@ -252,7 +252,8 @@ if ($sql_file != 'none') {
$sql_query = fread(fopen($sql_file, 'r'), filesize($sql_file));
}
else {
$sql_file_new = './tmp/' . basename($sql_file);
$sql_file_new = (PMA_IS_WINDOWS ? '.\\tmp\\' : './tmp/')
. basename($sql_file);
if (PMA_PHP_INT_VERSION < 40003) {
copy($sql_file, $sql_file_new);
} else {