Example #1
0
function shutdown_and_cleanup()
{
	ss9O24kwehbehb();
}
Example #2
0
    exit;
}
// --------------------------------------------------------------------------------
// Do not invoke the controller when:
// - IEM_NO_CONTROLLER flag is defined
// - and the flag is set to TRUE
//
// This is useful for "addons" or pages that does not follow the standard
// convention of the framework model (such as the legacy cods) and for
// testing purposes.
//
// The controller main functionality is to:
// - re-direct request to the appropriate "function".
// - Currently also checking "Login" information
// --------------------------------------------------------------------------------
ss9O24kwehbehb();
if (!defined('IEM_NO_CONTROLLER') || constant('IEM_NO_CONTROLLER') !== true) {
    $non_allowable_pages = array('init', 'upgrade', 'sendstudio_functions');
    $page = IEM::requestGetGET('Page', '', 'strtolower');
    $newPage = false;
    // See whether this is set up or not. If it's not set up, start the installer.
    if (!IEM::isInstalled()) {
        // We are moving "config.php" to a different directory
        // Other than for "remote_installer", we will need to check the
        // existance of older config file
        if ($page != 'remote_installer') {
            $page = 'installer';
            $tempOldConfig = SENDSTUDIO_BASE_DIRECTORY . '/../includes/config.inc.php';
            if (is_readable($tempOldConfig)) {
                require_once $tempOldConfig;
                if (isset($IsSetup) && $IsSetup == 1) {