28 lines
401 B
PHP
28 lines
401 B
PHP
<?php
|
|
//
|
|
// OpenSMTPD Admin
|
|
// by Mischa Peters <mischa at high5 dot nl>
|
|
// Copyright (c) 2022 High5!
|
|
// License Info: LICENSE.TXT
|
|
//
|
|
// File: index.php
|
|
//
|
|
// Template File: -none-
|
|
//
|
|
// Template Variables:
|
|
//
|
|
// -none-
|
|
//
|
|
// POST / GET Variables:
|
|
//
|
|
// -none-
|
|
//
|
|
if (file_exists(realpath("./conf.php"))) {
|
|
header ("Location: login.php");
|
|
exit;
|
|
} else {
|
|
header ("Location: setup.php");
|
|
exit;
|
|
}
|
|
?>
|