<?php $oConf = new ClassConfig(); if(!isset($_SESSION['user'])){ header("location:".$oConf->getURLRoot()); }