first commit
Some checks failed
Build / run (push) Has been cancelled

This commit is contained in:
maher
2025-10-29 11:42:25 +01:00
commit 703f50a09d
4595 changed files with 385164 additions and 0 deletions

59
index.php Executable file
View File

@@ -0,0 +1,59 @@
<?php
if (version_compare(PHP_VERSION, '8.1') === -1) {
exit('You need at least PHP 8.1 to install this application.');
}
// if not installed yet, redirect to public dir
if (
!file_exists(__DIR__ . '/.env') ||
!preg_match('/INSTALLED=(true|1)/', file_get_contents(__DIR__ . '/.env'))
) {
header('Location: public/install');
die();
}
?>
<html lang="en">
<head>
<title>.htaccess error</title>
<style>
body {
background: rgb(250, 250, 250);
color: rgba(0, 0, 0, 0.87);
padding: 30px;
}
.logo {
text-align: center;
margin-bottom: 25px;
}
img {
max-width: 200px;
}
.panel {
background: rgb(255, 255, 255);
margin: auto;
border: 1px solid rgba(0, 0, 0, 0.12);
padding: 25px;
border-radius: 4px;
max-width: 800px;
text-align: center;
}
h1 {
margin: 0 0 10px;
}
p {
font-size: 17px;
}
</style>
</head>
<body>
<div class="logo">
<img class="img-responsive" src="images/logo-dark.png" alt="logo">
</div>
<div class="panel">
<h1>Could not find .htaccess file</h1>
<p>See the article <a href="https://support.vebto.com/hc/articles/21/27/172/site-not-loading">here</a> for possible solutions.</p>
</div>
</body>
</html>