.*/define('ROOT_DIR', '../');require_once(ROOT_DIR . '/Pages/ViewSchedulePage.php');$page = new ViewSchedulePage();$allowAnonymousSchedule = Configuration::Instance()->GetSectionKey(ConfigSection::PRIVACY, ConfigKeys::PRIVACY_VIEW_SCHEDULES, new BooleanConverter());$allowGuestBookings = Configuration::Instance()->GetSectionKey(ConfigSection::PRIVACY, ConfigKeys::PRIVACY_ALLOW_GUEST_BOOKING, new BooleanConverter());if (!$allowAnonymousSchedule && !$allowGuestBookings){ $page = new SecurePageDecorator($page);}$page->PageLoad();