diff options
| author | 2025-11-04 23:31:01 -0800 | |
|---|---|---|
| committer | 2025-11-04 23:31:01 -0800 | |
| commit | 96a007eecea9b67ba06d01c8fcdd9c09fc4b43e9 (patch) | |
| tree | 5f691a3f3ec2faa0fb92b3394108cb4c63fccac5 /public/index.php | |
| download | lezer-96a007eecea9b67ba06d01c8fcdd9c09fc4b43e9.tar.gz lezer-96a007eecea9b67ba06d01c8fcdd9c09fc4b43e9.zip | |
Initial commit
Diffstat (limited to 'public/index.php')
| -rw-r--r-- | public/index.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..92e0753 --- /dev/null +++ b/public/index.php @@ -0,0 +1,17 @@ +<?php + +declare(strict_types=1); + +use Phel\Phel; + +$projectRootDir = dirname(__DIR__); +require $projectRootDir . '/vendor/autoload.php'; + +$appFile = $projectRootDir . "/out/index.php"; + +if (file_exists($appFile)) { + require_once $appFile; +} else { + Phel::run($projectRootDir, 'web-skeleton\app'); +} + |
