resetQueryCount(); $locale = new Localization(); // Emails uses the REQUEST_URI later to construct dynamic URLs. // IIS does not pass this field to prevent an error, if it is not set, we will assign it to ''. if (!isset ($_SERVER['REQUEST_URI'])) { $_SERVER['REQUEST_URI'] = ''; } $current_user = new User(); $current_entity = null; $system_config = new Administration(); $system_config->retrieveSettings(); LogicHook::initialize()->call_custom_logic('', 'after_entry_point'); } //// END SETTING DEFAULT VAR VALUES /////////////////////////////////////////////////////////////////////////////// ?>