[ERROR] You are not logged in
"; exit(); } elseif ($_SESSION['id'] != 1) { echo "[ERRO] You cannot use Autofix as an Admin currently.
"; exit(); } $check_sanity = $sanity->get_results(); if (empty($check_sanity)) { echo "[INFO] Sanity check passed. No errors found.
"; exit(); } else { echo "[WARN] Sanity check failed, continuing...
"; } define('ROOT', true); // Only run scripts from this file echo "==== Databases ====
"; include_once "database.php"; echo "==== Folders ====
"; include_once "folders.php"; $autofix_end = microtime(true); $autofix_time = ($autofix_end - $autofix_start); $autofix_time = round($autofix_time, 6) * 1000; echo "[INFO] Autofix complete in $autofix_time ms
"; }