Commit ce4c16fc authored by Batyr Mackenov's avatar Batyr Mackenov

Unused file removal

parent c6159594
<?php
/******************************************************************************
*
* Subrion E-commerce Software
* Copyright (C) 2017 Intelliants, LLC <https://intelliants.com>
*
* This file is part of Subrion E-commerce Software.
*
* This program is a commercial software and any kind of using it must agree
* to the license, see <https://subrion.pro/license.html>.
*
* This copyright notice may not be removed from the software source without
* the permission of Subrion respective owners.
*
*
******************************************************************************/
if (iaView::REQUEST_HTML == $iaView->getRequestType()) {
if (1 != count($iaCore->requestPath)) {
return iaView::errorPage(iaView::ERROR_NOT_FOUND);
}
$iaCurrency = $iaCore->factoryModule('currency', IA_CURRENT_MODULE);
$iaCurrency->set($iaCore->requestPath[0]);
$redirectUrl = isset($_SERVER['HTTP_REFERER'])
? $_SERVER['HTTP_REFERER']
: IA_URL;
iaUtil::go_to($redirectUrl);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment