Update laravel usage

This commit is contained in:
DariusIII
2017-07-18 13:02:58 +02:00
parent 1e4a8a57f0
commit 751796a613
20 changed files with 155 additions and 122 deletions
+9 -1
View File
@@ -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';