MDL-40499 Edit question from 1.9 backup breaks if images in subdirs
authorJean-Michel Vedrine <vedrine@vedrine.org>
Thu, 4 Jul 2013 12:09:13 +0000 (14:09 +0200)
committerJean-Michel Vedrine <vedrine@vedrine.org>
Thu, 4 Jul 2013 12:09:13 +0000 (14:09 +0200)
question/type/questiontypebase.php

index 35075ba..a6c3a57 100644 (file)
@@ -47,7 +47,7 @@ require_once($CFG->dirroot . '/question/engine/lib.php');
  */
 class question_type {
     protected $fileoptions = array(
  */
 class question_type {
     protected $fileoptions = array(
-        'subdirs' => false,
+        'subdirs' => true,
         'maxfiles' => -1,
         'maxbytes' => 0,
     );
         'maxfiles' => -1,
         'maxbytes' => 0,
     );