Skip to content

Commit

Permalink
fix autoload
Browse files Browse the repository at this point in the history
  • Loading branch information
m8rge committed Dec 7, 2016
1 parent e5ab575 commit 6347c37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?php

$autoLoader = require_once 'vendor/autoload.php';
$autoLoader->addPsr4('m8rge\\', __DIR__ . '/src');
/** @var \Composer\Autoload\ClassLoader $autoLoader */
$autoLoader = require_once __DIR__ . '/vendor/autoload.php';
$autoLoader->setPsr4('m8rge\\', __DIR__ . '/src');

$app = new Silly\Application('swagger2slate', '@version@');
$containerBuilder = new \DI\ContainerBuilder();
Expand Down

0 comments on commit 6347c37

Please sign in to comment.