1
0
This repository has been archived on 2025-05-29. You can view files and clone it, but cannot push or open issues or pull requests.
Random-Picture/admin/index.php

9 lines
159 B
PHP
Raw Permalink Normal View History

2025-04-14 16:50:30 +08:00
<?php
require_once __DIR__.'/../includes/auth.php';
if (isLoggedIn()) {
header("Location: admin.php");
} else {
header("Location: login.php");
}
exit;