<?php
/**
 * entry point script for "WizMobile" module series on XOOPS Cube Legacy2.1
 *
 * PHP Versions 4
 *
 * @package  WizMobile
 * @author  gusagi<gusagi@gusagi.com>
 * @copyright  2007 - 2008 gusagi
 *
 */

$scriptFileName = getenv('SCRIPT_FILENAME');
if ($scriptFileName === __FILE__) {
    exit();
}

require dirname(dirname(dirname(dirname(__FILE__)))) . '/mainfile.php';
require dirname(dirname(__FILE__)) . '/mytrustdirname.php';

if (defined('XOOPS_TRUST_PATH')) {
    $frontFile = __FILE__;
    $trustFile = XOOPS_TRUST_PATH . '/modules/' . $mytrustdirname . '/preload.php';
    if (file_exists($trustFile)) {
        require $trustFile;
    }
}
