bebeboutik/modules/privatesales/cron_salesreduction.php

13 lines
263 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');
include(dirname(__FILE__).'/Sale.php');
Sale::updateSalesReductionAtDate();