Merge branch 'ticket-deplaceExtract' into develop
This commit is contained in:
commit
fe7063edc8
@ -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"));
|
||||
|
10
modules/privatesales_logistique/cron.php
Normal file
10
modules/privatesales_logistique/cron.php
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user