Move .env.example to functions.php

This commit is contained in:
Jens 2023-04-05 14:13:52 +02:00 committed by GitHub
parent ca3643deef
commit 8ff3f04c0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,9 +53,6 @@ $cardheader = '
<div class="card-body bg-light">';
if (!isset($_GET['step'])) {
if (!file_exists('../../.env')) {
echo run_console('cp .env.example .env');
}
echo $cardheader; ?>
<p class="login-box-msg">This installer will lead you through the most crucial Steps of Controlpanel.gg`s
setup</p>