From cbc1d83cb120a31b5b54d6179194388931b55e68 Mon Sep 17 00:00:00 2001 From: jmontoyaa Date: Mon, 5 Jun 2017 12:41:15 +0200 Subject: [PATCH] Minor - add error log. --- app/Migrations/Schema/V110/Version20151214170800.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Migrations/Schema/V110/Version20151214170800.php b/app/Migrations/Schema/V110/Version20151214170800.php index 16310406f8..b9cee28ed3 100644 --- a/app/Migrations/Schema/V110/Version20151214170800.php +++ b/app/Migrations/Schema/V110/Version20151214170800.php @@ -42,6 +42,8 @@ class Version20151214170800 extends AbstractMigrationChamilo $imagePath = __DIR__ . "/../../../../courses/{$answer['directory']}/document/images/{$answer['picture']}"; if (!file_exists($imagePath)) { error_log("Migration: Image does not exists: $imagePath"); + $imagePath = realpath($imagePath); + error_log("Hotspot realpath: $imagePath"); continue; } $imageSize = getimagesize($imagePath);