Changeset 302

Show
Ignore:
Timestamp:
04/30/06 15:25:33 (3 years ago)
Author:
ben
Message:

/profile: changed profile.class to profile.class.php to prevent direct access to the source (let's keep to one extension for PHP files)
/units/profile/main.php: removed profile definitions so they are only loaded once, from the class rather than the unit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/profile/edit.php

    r296 r302  
    55// Run includes 
    66require_once(dirname(dirname(__FILE__))."/includes.php"); 
    7 require("{$CFG->dirroot}/profile/profile.class"); 
     7require("{$CFG->dirroot}/profile/profile.class.php"); 
    88 
    99// define what profile to show 
  • devel/profile/index.php

    r300 r302  
    55// Run includes 
    66require_once(dirname(dirname(__FILE__)) . '/includes.php'); 
    7 require_once($CFG->dirroot . '/profile/profile.class'); 
     7require_once($CFG->dirroot . '/profile/profile.class.php'); 
    88 
    99// define what profile to show 
  • devel/units/profile/main.php

    r269 r302  
    55    // Profile initialisation 
    66        $function['profile:init'][] = path . "units/profile/function_init.php"; 
    7         $function['profile:init'][] = path . "units/profile/function_editfield_defaults.php"; 
     7        // $function['profile:init'][] = path . "units/profile/function_editfield_defaults.php"; 
    88        $function['profile:init'][] = path . "units/profile/function_actions.php"; 
    99        $function['profile:init'][] = path . "units/profile/function_upload_foaf.php";