blob: 5cddb922301058d9cf269991590d32be7a84deac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
$app_settings = WMobilePack_Application::load_app_settings_premium();
// if we have a valid domain, redirect to it
if (isset($app_settings['domain_name']) && filter_var('http://'.$app_settings['domain_name'], FILTER_VALIDATE_URL)) {
header("Location: http://".$app_settings['domain_name']);
exit();
}
// load app
$theme = $app_settings['theme'];
if ($app_settings['kit_type'] == 'wpmp' && ($theme == 6 || $theme == 7)) {
require_once('template2.php');
} else {
require_once('template.php');
}
|