mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 15:13:42 +08:00
23 lines
487 B
PHP
23 lines
487 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Flarum.
|
|
*
|
|
* For detailed copyright and license information, please view the
|
|
* LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
if (! defined('LARAVEL_VERSION')) {
|
|
define('LARAVEL_VERSION', '10.0');
|
|
}
|
|
|
|
if (! function_exists('database_path')) {
|
|
function database_path($path = ''): string
|
|
{
|
|
return __DIR__."/../../$path";
|
|
}
|
|
}
|
|
|
|
$site = (new \Flarum\Testing\integration\Setup\Bootstrapper())->run();
|
|
$site->bootApp();
|