28 lines
414 B
PHP
28 lines
414 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-
|
|
//
|
|
// Form POST \ GET Variables:
|
|
//
|
|
// -none-
|
|
//
|
|
if (file_exists(realpath("./config.inc.php"))) {
|
|
header ("Location: login.php");
|
|
die();
|
|
} else {
|
|
header ("Location: setup.php");
|
|
die();
|
|
}
|
|
?>
|