@@ -7,13 +7,13 @@ |
||
7 | 7 | * @project browser-detector |
8 | 8 | */ |
9 | 9 | |
10 | -$vendor = realpath(__DIR__ . '/../vendor'); |
|
11 | -if (file_exists($vendor . '/autoload.php')) { |
|
12 | - require $vendor . '/autoload.php'; |
|
10 | +$vendor = realpath(__DIR__.'/../vendor'); |
|
11 | +if (file_exists($vendor.'/autoload.php')) { |
|
12 | + require $vendor.'/autoload.php'; |
|
13 | 13 | } else { |
14 | - $vendor = realpath(__DIR__ . '/../../../'); |
|
15 | - if (file_exists($vendor . '/autoload.php')) { |
|
16 | - require $vendor . '/autoload.php'; |
|
14 | + $vendor = realpath(__DIR__.'/../../../'); |
|
15 | + if (file_exists($vendor.'/autoload.php')) { |
|
16 | + require $vendor.'/autoload.php'; |
|
17 | 17 | } else { |
18 | 18 | throw new Exception('Unable to load dependencies'); |
19 | 19 | } |