Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:loadedcommerce/loaded7 into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
datazen committed Apr 21, 2015
2 parents aab4bd8 + b25e4fd commit 48a4ce9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
6 changes: 1 addition & 5 deletions catalog/includes/modules/actions/cart_add.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ function execute() {
lc_redirect(lc_href_link(FILENAME_PRODUCTS, $lC_Product->getKeyword()));
}
}

echo "<pre>";
print_r($_POST);
echo "</pre>";
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);
Expand Down

0 comments on commit 48a4ce9

Please sign in to comment.