44 lines
967 B
PHP
44 lines
967 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("./setup.php"))) {
|
|
header ("Location: login.php");
|
|
exit;
|
|
} else {
|
|
print <<< EOF
|
|
<html>
|
|
<head>
|
|
<title>Welcome to OpenSMTPD Admin</title>
|
|
</head>
|
|
<body>
|
|
<img id="login_header_logo" src="images/postbox.png" />
|
|
<img id="login_header_logo" src="images/opensmtpdadmin.png" />
|
|
<h1>Welcome to OpenSMTPD Admin</h1>
|
|
It seems that you are running this version of OpenSMTPD Admin for the first time.<br />
|
|
<p />
|
|
You can now run <a href="setup.php">setup</a> to make sure that all the functions are available for OpenSMTPD Admin to run.<br />
|
|
<p />
|
|
If you still encounter any problems please check the documentation and website for more information.
|
|
<p />
|
|
</body>
|
|
</html>
|
|
EOF;
|
|
}
|
|
?>
|