index.php

main
vox-populi/index.php history · blame · raw

7 lines · 268 bytes

1<?php
2    // The dashboard is the home page. Keep the query string so Tumblr's OAuth
3    // callback (?oauth_verifier=...) reaches it.
4    $query = $_SERVER['QUERY_STRING'] ?? '';
5    header('Location: dashboard/' . ($query !== '' ? '?' . $query : ''));
6    die();
7?>