WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
if(isset($_GET['template'])) define('TEMPLATE', $_GET['template']);
// Sticky Template switcherif ($_GET['template']!="") { // get the template to display from URL if(file_exists(WB_PATH.'/templates/'.$_GET['template'].'/index.php')) { define('TEMPLATE',$_GET['template']); $_SESSION['TEMPLATE']=TEMPLATE; }} else { // else get the template to display from Session Variable if(isset($_SESSION['TEMPLATE']) AND $_SESSION['TEMPLATE'] != '') define('TEMPLATE',$_SESSION['TEMPLATE']);}