Documents - Disable video/flv default folder, remove swf/flash files.

pull/3768/head^2
Julio Montoya 4 years ago
parent 2977a0cd6f
commit f0e964f744
  1. BIN
      public/img/document/flash/ArtefactsInRMI.swf
  2. BIN
      public/img/document/flash/PonderationOfMrSignal.swf
  3. BIN
      public/img/document/flash/SpinEchoSequence.swf
  4. BIN
      public/img/document/video/flv/example.flv
  5. 5
      public/main/inc/lib/add_course.lib.inc.php

@ -334,16 +334,15 @@ class AddCourse
}
$certificateId = 'NULL';
/* Documents */
if ($fill_with_exemplary_content) {
$files = [
['path' => '/audio', 'title' => get_lang('Audio'), 'filetype' => 'folder', 'size' => 0],
['path' => '/flash', 'title' => get_lang('Flash'), 'filetype' => 'folder', 'size' => 0],
//['path' => '/flash', 'title' => get_lang('Flash'), 'filetype' => 'folder', 'size' => 0],
['path' => '/images', 'title' => get_lang('Images'), 'filetype' => 'folder', 'size' => 0],
['path' => '/images/gallery', 'title' => get_lang('Gallery'), 'filetype' => 'folder', 'size' => 0],
['path' => '/video', 'title' => get_lang('Video'), 'filetype' => 'folder', 'size' => 0],
['path' => '/video/flv', 'title' => 'flv', 'filetype' => 'folder', 'size' => 0],
//['path' => '/video/flv', 'title' => 'flv', 'filetype' => 'folder', 'size' => 0],
];
$paths = [];
foreach ($files as $file) {

Loading…
Cancel
Save