From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Wed, 3 Sep 2014 23:28:35 -0400
Subject: Allow require to search in the path

Forwarded: not-needed
---
 bin/php-parse.php | 2 +-
 lib/bootstrap.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/php-parse.php b/bin/php-parse.php
index c04ff08..bb90b0f 100755
--- a/bin/php-parse.php
+++ b/bin/php-parse.php
@@ -1,7 +1,7 @@
 #!/usr/bin/env php
 <?php
 
-require __DIR__ . '/../lib/bootstrap.php';
+require 'PhpParser/bootstrap.php';
 
 ini_set('xdebug.max_nesting_level', 3000);
 
diff --git a/lib/bootstrap.php b/lib/bootstrap.php
index b0f5178..e54eb9b 100644
--- a/lib/bootstrap.php
+++ b/lib/bootstrap.php
@@ -1,6 +1,6 @@
 <?php
 
 if (!class_exists('PhpParser\Autoloader')) {
-    require __DIR__ . '/PhpParser/Autoloader.php';
+    require 'PhpParser/Autoloader.php';
 }
 PhpParser\Autoloader::register();
