manage.php 432 B

123456789101112131415
  1. <?php
  2. // Update and backup for this installation. The page itself holds no logic:
  3. // manage-client/ui/panel.php calls the same functions as the CLI
  4. // (manage-client/bin/manage-client.php).
  5. require_once __DIR__ . "/../config.php";
  6. require_once __DIR__ . "/../includes/functions.php";
  7. if (empty($_SESSION["admin_logged_in"])) {
  8. header("Location: login.php");
  9. exit();
  10. }
  11. require __DIR__ . "/../manage-client/ui/panel.php";