From cb5037834da5bd27c1199f7313c9e3fb53763c24 Mon Sep 17 00:00:00 2001 From: Claudiu Farcas Date: Thu, 8 Jan 2015 22:23:46 +0200 Subject: [PATCH] fix crash from back-slashes fix crash from back-slashes --- README.md | 5 +++-- src/clodyx/qrcraft/QRhelper.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 298879e..38f4e02 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,8 @@ PocketMine-MP version min 1.0.0 ## Releases ``` -[1.0.0] - initial release -[1.0.1] - improvements +[1.0.3] - fix backslash crash [1.0.2] - implemented teleport player nearby QR code panel +[1.0.1] - improvements +[1.0.0] - initial release ``` diff --git a/src/clodyx/qrcraft/QRhelper.php b/src/clodyx/qrcraft/QRhelper.php index 7e978f7..bf362b0 100644 --- a/src/clodyx/qrcraft/QRhelper.php +++ b/src/clodyx/qrcraft/QRhelper.php @@ -10,7 +10,7 @@ namespace clodyx\qrcraft; -include(__DIR__ . "\..\..\clodyx\phpqrcode\phpqrcode.php"); +include(__DIR__ . "/../../clodyx/phpqrcode/phpqrcode.php"); use pocketmine\math\Vector3; use pocketmine\block\Block as BlockAPI;