From 3f3d2e4ef31280fad4ae48e812bb80d91dcd9f78 Mon Sep 17 00:00:00 2001 From: Grigory Pomadchin Date: Tue, 25 Nov 2014 16:11:09 +0300 Subject: [PATCH] rmdir fix --- intaro.intarocrm/install/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/intaro.intarocrm/install/index.php b/intaro.intarocrm/install/index.php index e6884011..87366610 100755 --- a/intaro.intarocrm/install/index.php +++ b/intaro.intarocrm/install/index.php @@ -1331,7 +1331,8 @@ class intaro_intarocrm extends CModule { function DeleteFiles() { unlink($_SERVER['DOCUMENT_ROOT'] . '/bitrix/php_interface/include/catalog_export/intarocrm_run.php'); unlink($_SERVER['DOCUMENT_ROOT'] . '/bitrix/php_interface/include/catalog_export/intarocrm_setup.php'); - unlink($_SERVER['DOCUMENT_ROOT'] . '/retailcrm/'); + unlink($_SERVER['DOCUMENT_ROOT'] . '/retailcrm/agent.php'); + rmdir($_SERVER['DOCUMENT_ROOT'] . '/retailcrm/'); } function GetProfileSetupVars($iblocks, $propertiesProduct, $propertiesUnitProduct, $propertiesSKU, $propertiesUnitSKU, $filename) {