Merge branch 'ticket-deplaceExtract' into develop

This commit is contained in:
Marion Muszynski 2016-05-18 17:08:00 +02:00
commit fe7063edc8
2 changed files with 11 additions and 1 deletions

View File

@ -113,7 +113,7 @@ class AdminPrivateSalesLogistique extends AdminTab {
} else if (type == 5) {
req += "&type="+type;
req += "&lang="+$("input[name=lang]:checked").val();
var url_dest = "'.$currentIndex.'&token='.Tools::getAdminTokenLite('AdminPrivateSalesLogistique').'&action=getSaleExport";
var url_dest = "'.$currentIndex.'&token='.Tools::getAdminTokenLite('AdminPrivateSalesLogistique').'&changeCategory&action=getSaleExport";
$(this).attr("href", url_dest+req);
console.log($(this).attr("href"));

View File

@ -0,0 +1,10 @@
<?php
if(isset($_SERVER['REMOTE_ADDR'])) exit;
$_SERVER['SERVER_PORT'] = 80;
$_SERVER['HTTP_HOST'] = 'www.bebeboutik.com';
include(dirname(__FILE__).'/../../config/config.inc.php');
foreach(glob(dirname(__FILE__).'/*.csv') as $filename) {
unlink($filename);
}