mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
add seeders and migrations + rhilip/bencode
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
ini_set('error_reporting', E_ALL);
|
||||
ini_set('display_errors', 0);
|
||||
define('IN_NEXUS', true);
|
||||
require ROOT_PATH . 'vendor/autoload.php';
|
||||
require ROOT_PATH . 'nexus/Database/helpers.php';
|
||||
require ROOT_PATH . 'include/constants.php';
|
||||
$withLaravel = false;
|
||||
if (file_exists(ROOT_PATH . '.env')) {
|
||||
require ROOT_PATH . 'include/eloquent.php';
|
||||
$withLaravel = true;
|
||||
}
|
||||
define('WITH_LARAVEL', $withLaravel);
|
||||
Reference in New Issue
Block a user