opensmtpdadmin/index.php

28 lines
414 B
PHP
Raw Normal View History

2022-08-18 14:01:52 +02:00
<?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-
//
2022-08-21 12:19:11 +02:00
if (file_exists(realpath("./config.inc.php"))) {
2022-08-18 14:01:52 +02:00
header ("Location: login.php");
2022-08-21 12:19:11 +02:00
die();
2022-08-18 14:01:52 +02:00
} else {
2022-08-21 12:19:11 +02:00
header ("Location: setup.php");
die();
2022-08-18 14:01:52 +02:00
}
?>