Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

files MDL-24841 Changed require to require_once in files/index.php so…

… it doesn't break if libraries are required elsewhere
  • Loading branch information...
commit b085489d88c5f38ba42079547c5dffa643f63fad 1 parent a83fefb
sam marshall sammarshallou authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 files/index.php
4 files/index.php
@@ -8,8 +8,8 @@
8 8 // USER is a persistent variable using sessions
9 9
10 10 require('../config.php');
11   - require($CFG->libdir.'/filelib.php');
12   - require($CFG->libdir.'/adminlib.php');
  11 + require_once($CFG->libdir . '/filelib.php');
  12 + require_once($CFG->libdir . '/adminlib.php');
13 13
14 14 $id = required_param('id', PARAM_INT);
15 15 $file = optional_param('file', '', PARAM_PATH);

0 comments on commit b085489

Please sign in to comment.
Something went wrong with that request. Please try again.