diff options
Diffstat (limited to 'pages/debug.php')
-rw-r--r-- | pages/debug.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pages/debug.php b/pages/debug.php index 338a896..fdd6fec 100644 --- a/pages/debug.php +++ b/pages/debug.php @@ -1,6 +1,11 @@ -<?php $title = "Data updater debugging"; require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'; +<?php + +require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/init.php"; global $title; global $isLoggedIn; +require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'; function itemToName(string $item): string { + if ($item === "docs_cleanup") return "Deleting scheduled documents"; + if ($item === "important_backup") return "Differential backups"; if ($item === "restore") return "Failure protection"; if ($item === "backups") return "Encrypted off-site backups"; if ($item === "calendar") return "Google Calendar integration"; |