1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-11 23:54:06 +02:00

feat(core): restore code for testing #477

This commit is contained in:
Awilum
2020-10-16 18:31:26 +03:00
parent 8f1b34f5f2
commit 96df159e52
3 changed files with 67 additions and 1 deletions

View File

@@ -1 +1,13 @@
<?php
define('FLEXTYPE_MINIMUM_PHP', '7.3.0');
define('ROOT_DIR', str_replace(DIRECTORY_SEPARATOR, '/', getcwd()));
define('PATH', [
'project' => ROOT_DIR . '/project',
'tmp' => ROOT_DIR . '/var/tmp',
]);
! is_file($flextype_autoload = ROOT_DIR . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> for flextype');
$flextype_loader = require_once $flextype_autoload;
include ROOT_DIR . '/src/flextype/bootstrap.php';
s