bebeboutik/modules/bulkupdate/cron.php

10 lines
265 B
PHP
Raw Normal View History

<?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);
}