git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7522 b9a71923-0436-4b27-9f14-aed3839534dd

This commit is contained in:
rGaillard
2011-07-06 10:10:43 +00:00
parent 9ff675b1e2
commit 69f2f09dc5
4695 changed files with 0 additions and 339293 deletions
@@ -1,19 +0,0 @@
<?php
include(dirname(__FILE__).'/../../../config/config.inc.php');
if (isset($_POST['token']) AND !empty($_POST['token']))
{
$token = Tools::getValue('token');
$realToken = Configuration::get('TREEPODIA_TOKEN');
if ($token === $realToken)
{
Configuration::updateValue('TREEPODIA_ACCOUNT_CODE', $_POST['account-code']);
die($_POST['account-code']);
}
else
echo 'Bad token';
}
else
echo 'Bad token';