mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 15:06:06 +00:00
19 lines
327 B
PHP
19 lines
327 B
PHP
<?php
|
|
|
|
include "bootstrap.php";
|
|
|
|
$app = new \Espo\Core\Application();
|
|
|
|
$configFile = $app->getContainer()->get('config')->get('configPath');
|
|
if (!file_exists($configFile)) {
|
|
header("Location: install/");
|
|
exit;
|
|
}
|
|
|
|
if (empty($_GET['entryPoint'])) {
|
|
include "main.html";
|
|
} else {
|
|
$app->runEntryPoint($_GET['entryPoint']);
|
|
}
|
|
|