mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-09-03 02:42:34 +02:00
Minor updates to index.php
This commit is contained in:
@@ -10,12 +10,11 @@ use Slim\Views\Twig;
|
||||
|
||||
require __DIR__ . '/vendor/autoload.php';
|
||||
|
||||
/** Set some restrictions */
|
||||
/** Set file access restrictions */
|
||||
ini_set('open_basedir', __DIR__);
|
||||
|
||||
/** Initialize environment variable handler */
|
||||
$dotenv = Dotenv::create(__DIR__);
|
||||
$dotenv->load();
|
||||
Dotenv::create(__DIR__)->load();
|
||||
|
||||
/** Create the container */
|
||||
$container = new Container();
|
||||
|
Reference in New Issue
Block a user