diff --git a/index.php b/index.php index 9592e9a..332b289 100644 --- a/index.php +++ b/index.php @@ -10,6 +10,9 @@ use Slim\Views\Twig; require __DIR__ . '/vendor/autoload.php'; +/** Set some restrictions */ +ini_set('open_basedir', __DIR__); + /** Initialize environment variable handler */ $dotenv = Dotenv::create(__DIR__); $dotenv->load();