Framework Builder
I would like the ability to define the default option within the wizard so that I can point it at an error page for example of the other triggers do not fire e.g.
<?php
if(true){
// WebAssist Framework Builder Dynamic Plug-in: $WA_page_1288220530067
switch(isset($pathInfo[0])?$pathInfo[0]:""){
case "":
$WA_page_1288220530067 = new WA_Include("_plugins/home-page/home.php");
break;
case "index":
$WA_page_1288220530067 = new WA_Include("_plugins/home-page/home.php");
break;
case "home":
$WA_page_1288220530067 = new WA_Include("_plugins/home-page/home.php");
break;
case "contact":
$WA_page_1288220530067 = new WA_Include("_plugins/contact-page/contact-us.php");
break;
case "preview":
$WA_page_1288220530067 = new WA_Include("_plugins/preview-page/preview.php");
break;
case "forbidden":
$WA_page_1288220530067 = new WA_Include("_plugins/error-pages/page-forbidden.php");
break;
default:
$WA_page_1288220530067 = new WA_Include("_plugins/error-pages/page-not-found.php");
break;
}
if(isset($WA_page_1288220530067)){
require($WA_page_1288220530067->BaseName);
$WA_page_1288220530067->Initialize(true);
}
// End: WebAssist Framework Builder Dynamic Plug-in: $WA_page_1288220530067
}
?>