Path must use "\" under winwin
This commit is contained in:
@@ -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
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user