From 64c85bff5e7e1625ebc1f558997c8627c0fa3c7a Mon Sep 17 00:00:00 2001 From: Nahuel Angelinetti Date: Fri, 15 Sep 2006 16:46:07 +0000 Subject: [PATCH] Changement du path de bunzip selon les infos du package debian Closes: #788 --- bureau/class/m_mysql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/class/m_mysql.php b/bureau/class/m_mysql.php index 5595363b..68272f8f 100644 --- a/bureau/class/m_mysql.php +++ b/bureau/class/m_mysql.php @@ -308,7 +308,7 @@ class m_mysql { if (substr($fi,-3)==".gz") { $exe="/bin/gzip -d -c <".escapeshellarg($fi)." | /usr/bin/mysql -h".escapeshellarg($L_MYSQL_HOST)." -u".escapeshellarg($r["login"])." -p".escapeshellarg($r["pass"])." ".escapeshellarg($r["db"]); } elseif (substr($fi,-4)==".bz2") { - $exe="/bin/bunzip2 -d -c <".escapeshellarg($fi)." | /usr/bin/mysql -h".escapeshellarg($L_MYSQL_HOST)." -u".escapeshellarg($r["login"])." -p".escapeshellarg($r["pass"])." ".escapeshellarg($r["db"]); + $exe="/usr/bin/bunzip2 -d -c <".escapeshellarg($fi)." | /usr/bin/mysql -h".escapeshellarg($L_MYSQL_HOST)." -u".escapeshellarg($r["login"])." -p".escapeshellarg($r["pass"])." ".escapeshellarg($r["db"]); } else { $exe="/usr/bin/mysql -h".escapeshellarg($L_MYSQL_HOST)." -u".escapeshellarg($r["login"])." -p".escapeshellarg($r["pass"])." ".escapeshellarg($r["db"])." <".escapeshellarg($fi); }