[-] BO : Fix bug #PSCFV-10660, could not delete csv file on NT

This commit is contained in:
gRoussac
2013-10-10 14:54:12 +02:00
parent 9bae53a4d9
commit 39a543188a
+1 -1
View File
@@ -2862,7 +2862,7 @@ class AdminImportControllerCore extends AdminController
{
$filename = base64_decode($filename);
$file = _PS_ADMIN_DIR_.'/import/'.basename($filename);
if (realpath(dirname($file)) != _PS_ADMIN_DIR_.'/import')
if (realpath(dirname($file)) != _PS_ADMIN_DIR_.DIRECTORY_SEPARATOR.'import')
exit();
if (!empty($filename))
{