Moodle

Remove weird global $basedir

Details

  • Type: Task Task
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.9.5
  • Fix Version/s: None
  • Component/s: HTML Editor
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

It was proposed by Jerome Mouneyrac, that we take a look at moodle code and remove all the weird global variables.
Here is a patch that removes the "basedir" global (basedir.diff) that was used in files/index.php . It is also used on ./lib/editor/htmlarea/coursefiles.php but i will keep working on some other global in files/index.php

Issue Links

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: