Show
Ignore:
Timestamp:
04/24/06 00:15:41 (3 years ago)
Author:
carmartin
Message:

Includes should use full path given that we know where things are. Patch 3. Deprecate the "path" constant.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/includes.php

    r297 r298  
    5454         
    5555    // Visual editor (tinyMCE) 
    56         @include(path . "units/tinymce/main.php"); 
     56        @include($CFG->dirroot . "units/tinymce/main.php"); 
    5757     
    5858    // Calendaring system 
    59     //    require(path . "units/calendar/main.php"); 
     59    //    require($CFG->dirroot . "units/calendar/main.php"); 
    6060     
    6161    /***************************************************************************