mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 03:08:53 +00:00
Update laravel usage
This commit is contained in:
@@ -2,6 +2,14 @@
|
||||
|
||||
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'nntmux' . DIRECTORY_SEPARATOR . 'constants.php';
|
||||
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'nntmux' . DIRECTORY_SEPARATOR . 'bootstrap.php';
|
||||
require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'nntmux.php';
|
||||
|
||||
use Dotenv\Dotenv;
|
||||
|
||||
$dotenv = new Dotenv(dirname(__DIR__, 1));
|
||||
$dotenv->load();
|
||||
|
||||
define('NNTMUX_START', microtime(true));
|
||||
|
||||
define('NN_APP_PATH', dirname(__DIR__) . DS . 'app');
|
||||
|
||||
@@ -9,4 +17,4 @@ if (!defined('NN_ROOT')) {
|
||||
define('NN_ROOT', dirname(NN_APP_PATH, 2));
|
||||
}
|
||||
|
||||
require_once NN_APP_PATH . DS . 'libraries' . DS . 'autoload.php';
|
||||
require_once NN_APP_PATH . DS . 'Libraries' . DS . 'autoload.php';
|
||||
|
||||
Reference in New Issue
Block a user