From d8f0a08f0b0ade5ff5478f94c8d40196988d8381 Mon Sep 17 00:00:00 2001 From: Anton Smirnov Date: Fri, 11 Jul 2014 15:36:29 +0400 Subject: [PATCH] Fix incorrect Composer usage in example --- example/query.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/example/query.php b/example/query.php index 81f3fc9..bcd25cf 100644 --- a/example/query.php +++ b/example/query.php @@ -1,9 +1,8 @@ addPsr4('SandFoxIM\\Minecraft\\', __DIR__. '/../classes'); +// run 'composer install' in parent directory for this to work + +require __DIR__. '/../vendor/autoload.php'; $minecraft = new \SandFoxIM\Minecraft\ServerQuery($argv[1], $argv[2], 2);