blob: 470129f1965551b28643f69976bc6b97a62b8f49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
diff --git a/bin/phpdoc-md b/bin/phpdoc-md
index 280a8c0..f74b4e9 100755
--- a/bin/phpdoc-md
+++ b/bin/phpdoc-md
@@ -1,13 +1,7 @@
#!/usr/bin/env php
<?php
-$autoLoadPaths = array(__DIR__.'/vendor/autoload.php', __DIR__.'/../vendor/autoload.php', __DIR__.'/../../../autoload.php');
-foreach($autoLoadPaths as $autoloader) {
- if( file_exists($autoloader) ) {
- require $autoloader;
- break;
- }
-}
+require_once '__PHPDIR__/PHPDocsMD/autoload.php';
use PHPDocsMD\Console\CLI;
|