Commit 92d2d5f8 authored by Henri-Damien LAURENT's avatar Henri-Damien LAURENT
Browse files

Fixing compile errors in index.php

parent 4313ea63
Pipeline #9385 passed with stage
in 1 minute and 23 seconds
......@@ -6,6 +6,7 @@ use \Storm\Model\Loader;
use \Storm\Persistence\SqlStrategy;
use \Storm\FileSystem\Disk;
use \Storm\FileSystem\Volatile;
use \Pellicule\Models\Media;
require __DIR__ . '/../vendor/autoload.php';
......@@ -25,7 +26,7 @@ $app->add(function($request, $handler)
{
$settings = require __DIR__ . '/../conf/filesystem.php';
$filesystem = $setting['facility'] == 'disk'
$filesystem = $settings['facility'] == 'disk'
? new Disk()
: new Volatile();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment