Ver original<?session_start();if (isset($_SESSION['user']) != true) {header('location: $url'); }?>
Ver original<?phpsession_start();if ( isset($_SESSION['user']) ) { header('location: $url'); }?>