diff --git a/catalog/admin/includes/applications/updates/classes/updates.php b/catalog/admin/includes/applications/updates/classes/updates.php index 1ab3e14a8..16ce524b2 100644 --- a/catalog/admin/includes/applications/updates/classes/updates.php +++ b/catalog/admin/includes/applications/updates/classes/updates.php @@ -777,7 +777,7 @@ public static function fullBackup() { if (utility::execEnabled() === true && utility::isLinux() === true) { try { //exec(CFG_APP_ZIP . ' -r ' . DIR_FS_WORK . 'updates/' . $backup_file . ' ' . DIR_FS_CATALOG . '* -x \*.zip\*'); - exec(CFG_APP_ZIP . ' -r ' . DIR_FS_WORK . 'updates/' . $backup_file . ' ' . DIR_FS_CATALOG . '* -x "/home/loadedne/www/sandbox/datazen/www/loaded7/catalog/images/products/*" -x "*.cache" -x "*.zip" -x "php_error*" -x "*.gif" -x "*.jpg" -x "*.jpeg" -x "*.png" -x "*.sql" -x "*.tgz" -x "*.tar" -x "*.gz"'); + exec(CFG_APP_ZIP . ' -r ' . DIR_FS_WORK . 'updates/' . $backup_file . ' ' . DIR_FS_CATALOG . '* -x "' . DIR_FS_CATALOG . DIR_WS_IMAGES . 'products/*" -x "*.cache" -x "*.zip" -x "php_error*" -x "*.gif" -x "*.jpg" -x "*.jpeg" -x "*.png" -x "*.sql" -x "*.tgz" -x "*.tar" -x "*.gz"'); } catch ( Exception $e ) { return array('rpcStatus' => 0); } diff --git a/catalog/includes/modules/actions/cart_add.php b/catalog/includes/modules/actions/cart_add.php index f94bc9e35..b273cee4e 100644 --- a/catalog/includes/modules/actions/cart_add.php +++ b/catalog/includes/modules/actions/cart_add.php @@ -54,11 +54,7 @@ function execute() { lc_redirect(lc_href_link(FILENAME_PRODUCTS, $lC_Product->getKeyword())); } } - -echo "
"; -print_r($_POST); -echo ""; -die('77'); + if (isset($_POST['quantity']) && is_array($_POST['quantity'])) { foreach($_POST['quantity'] as $product_id => $quantity) { $lC_ShoppingCart->add((int)$product_id, (int)$quantity); diff --git a/catalog/includes/version.txt b/catalog/includes/version.txt index 532815bcb..e5024eca0 100644 --- a/catalog/includes/version.txt +++ b/catalog/includes/version.txt @@ -1 +1 @@ -7.003.3.2|04/17/2015 +7.003.3.3|04/21/2015