<cfscript> // ... truncated code ... request.template = { type: "internal", statusCode: 200, statusText: "OK", title: "Dig Deep Fitness", assetVersion: "2023.07.22.09.54", // Making the input borders more intense. bugsnagApiKey: config.bugsnag.client.apiKey }; try { // ... truncated code ... // ... truncated code ... // ... truncated code ... // Now that we have executed the page, let's include the appropriate rendering // template. switch ( request.template.type ) { case "auth": include "./layouts/auth.cfm"; break; case "blank": include "./layouts/blank.cfm"; break; case "internal": include "./layouts/internal.cfm"; break; case "system": include "./layouts/system.cfm"; break; } // NOTE: Since this try/catch is happening in the index file, we know that the // application has, at the very least, successfully bootstrapped and that we have // access to all the application-scoped services. } catch ( any error ) { // ... truncated code ... } </cfscript>