Blob


1 <?php
2 //
3 // OpenSMTPD Admin
4 // by Mischa Peters <mischa at high5 dot nl>
5 // Copyright (c) 2022 High5!
6 // License Info: LICENSE.TXT
7 //
8 // File: index.php
9 //
10 // Template File: -none-
11 //
12 // Template Variables:
13 //
14 // -none-
15 //
16 // POST / GET Variables:
17 //
18 // -none-
19 //
20 if (file_exists(realpath("./conf.php"))) {
21 header ("Location: login.php");
22 exit;
23 } else {
24 header ("Location: setup.php");
25 exit;
26 }
27 ?>