<?php
if (!defined('ROOT_PATH')) {
    define('ROOT_PATH', dirname(dirname(__DIR__)) . '/');
}

$premiumFile = ROOT_PATH . 'modules-premium/pro/order/public/success.php';
if (is_file($premiumFile)) {
    require $premiumFile;
    return;
}

header('Location: /public/index.php?m=index');
exit;
