|
    Ultima modificación |
    Ver Log
    | 
  
  
  
     
        
        | Rev | Autor | Línea Nro. | Línea | 
     
     
        
           | 1 | efrain | 1 | <?php
 | 
        
           |  |  | 2 |   | 
        
           |  |  | 3 | // Every file should have GPL and copyright in the header - we skip it in tutorials but you should not skip it for real.
 | 
        
           |  |  | 4 |   | 
        
           |  |  | 5 | // This line protects the file from being accessed by a URL directly.
 | 
        
           | 1335 | ariadna | 6 | defined('MOODLE_INTERNAL') || die();
 | 
        
           |  |  | 7 |   | 
        
           | 1 | efrain | 8 | // This is used for performance, we don't need to know about these settings on every page in Moodle, only when
 | 
        
           |  |  | 9 | // we are looking at the admin settings pages.
 | 
        
           | 1335 | ariadna | 10 | if ($ADMIN->fulltree) {
 | 
        
           |  |  | 11 |   | 
        
           | 1 | efrain | 12 |     // Boost provides a nice setting page which splits settings onto separate tabs. We want to use it here.
 | 
        
           | 1340 | ariadna | 13 |     require_once($CFG->dirroot . '/theme/universe/settings.php');
 | 
        
           | 1335 | ariadna | 14 | }
 |