opensmtpdadmin/index.php

28 lines
401 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-
//
2022-09-05 20:29:41 +02:00
// POST / GET Variables:
2022-08-18 14:01:52 +02:00
//
// -none-
//
if (file_exists(realpath("./conf.php"))) {
2022-08-18 14:01:52 +02:00
header ("Location: login.php");
exit;
} else {
header ("Location: setup.php");
exit;
2022-08-18 14:01:52 +02:00
}
?>