git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7522 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
9ff675b1e2
commit
69f2f09dc5
4695 files changed
-339293
No files matched your search
@@ -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';
|
||||
Reference in new issue
Block a user