install.php 226 B

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