Skip to content

Commit

Permalink
Use current directory for composer autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
svenbw committed Aug 3, 2018
1 parent 256554b commit 72bada9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

if (is_file('vendor/autoload.php'))
if (is_file(__DIR__.'/vendor/autoload.php'))
{
require_once 'vendor/autoload.php';
require_once __DIR__.'/vendor/autoload.php';
}

0 comments on commit 72bada9

Please sign in to comment.