// Merge -> 10309
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10333 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
include_once('../../config/config.inc.php');
|
||||
include_once('../../init.php');
|
||||
include_once('../../modules/importerosc/importerosc.php');
|
||||
|
||||
|
||||
if (!Tools::getValue('ajax') || Tools::getValue('token') != sha1(_COOKIE_KEY_.'importosc'))
|
||||
die('INVALID TOKEN');
|
||||
|
||||
$importOsc = new importerosc();
|
||||
$importOsc->server = Tools::getValue('server');
|
||||
$importOsc->user = Tools::getValue('user');
|
||||
$importOsc->passwd = Tools::getValue('password');
|
||||
$importOsc->database = Tools::getValue('database');
|
||||
$importOsc->prefix = Tools::getValue('prefix');
|
||||
|
||||
die($importOsc->createLevelAndCalculate());
|
||||
Reference in New Issue
Block a user