FRONTEND['type']; $type=isset($type)?$type:'$type'; $__WBS_INSTALL_PATH = (string)@$xml->DIRECTORIES->WEB_DIRECTORY['PATH']; }else{ $type='$type'; $__WBS_INSTALL_PATH = ''; } switch ($type){ case 'PD':{ chdir('published/PD/');include "index.php"; break; break; } case 'SC':{ $_GET['frontend']=1; chdir('published/SC/html/scripts/');include "index.php"; break; } case 'login':{ header('Location: login/'); break; } case 'none':{ print ''; break; } default:{ print ''; break; } } ?>