Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/file.php

    r136 r1331  
    8888        $fullpath .= '/';
    8989    }
    90     if (!$file = $fs->get_file_by_hash(sha1($fullpath.'/.'))) {
     90    // Try to fallback to the directory named as the supposed file.
     91    if (!$file = $fs->get_file_by_hash(sha1($fullpath.'.'))) {
    9192        send_file_not_found();
    9293    }
Note: See TracChangeset for help on using the changeset viewer.