|
@@ -18,10 +18,10 @@ |
|
|
block discarded – undo |
|
18
|
18
|
$objExercise = new Exercise(api_get_course_int_id()); |
|
19
|
19
|
$objExercise->read($trackExerciseInfo['exe_exo_id']); |
|
20
|
20
|
$em = Database::getManager(); |
|
21
|
|
-$documentPath = api_get_path(SYS_COURSE_PATH) . $_course['path'] . '/document'; |
|
22
|
|
-$picturePath = $documentPath . '/images'; |
|
|
21
|
+$documentPath = api_get_path(SYS_COURSE_PATH).$_course['path'].'/document'; |
|
|
22
|
+$picturePath = $documentPath.'/images'; |
|
23
|
23
|
$pictureName = $objQuestion->selectPicture(); |
|
24
|
|
-$pictureSize = getimagesize($picturePath . '/' . $objQuestion->selectPicture()); |
|
|
24
|
+$pictureSize = getimagesize($picturePath.'/'.$objQuestion->selectPicture()); |
|
25
|
25
|
$pictureWidth = $pictureSize[0]; |
|
26
|
26
|
$pictureHeight = $pictureSize[1]; |
|
27
|
27
|
$course_id = api_get_course_int_id(); |
Please login to merge, or discard this patch.