22 lines
575 B
PHP
Executable File
22 lines
575 B
PHP
Executable File
<?php
|
|
if(isset($_SERVER['REMOTE_ADDR'])) {
|
|
exit;
|
|
}
|
|
|
|
$_SERVER['HTTP_HOST'] = 'www.bebeboutik.com';
|
|
$_SERVER['SERVER_NAME'] = 'www.bebeboutik.com';
|
|
$_SERVER['HTTP_PORT'] = 80;
|
|
$_SERVER['SERVER_ADDR'] = '37.187.137.153';
|
|
$_SERVER['REMOTE_ADDR'] = '127.0.0.1';
|
|
|
|
include dirname(__FILE__).'/www/config/config.inc.php';
|
|
|
|
if(!class_exists('CustomGroup')){
|
|
require_once(_PS_MODULE_DIR_.'ant_customgroup/models/CustomGroup.php');
|
|
}
|
|
|
|
foreach (CustomGroup::getGroups(true) as $custom_group) {
|
|
CustomGroup::refreshCustomGroupStatic($custom_group['id_custom_group']);
|
|
}
|
|
exit;
|