<?php require_once("../config.php"); if(isset($_SESSION['authorized']) && $_SESSION['authorized'] && $_SESSION['client_id'] == 1) { $dbBuilder = new DatabaseBuilder(); $dbBuilder->init(); } else { header("Location: /"); }