From 179601657c8f7b2a61fa16cbee6d5227360cd020 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Thu, 2 Mar 2017 10:17:16 +0100 Subject: [PATCH] Remove prefix from file path Should already be complete at this point. JI-92 --- h5p-default-storage.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/h5p-default-storage.class.php b/h5p-default-storage.class.php index 0c67341..5bb1495 100644 --- a/h5p-default-storage.class.php +++ b/h5p-default-storage.class.php @@ -285,7 +285,7 @@ class H5PDefaultStorage implements \H5PFileStorage { * @return string */ public function getContent($file_path) { - return file_get_contents($this->path . $file_path); + return file_get_contents($file_path); } /**