Changeset 692
- Timestamp:
- 11/05/06 14:09:19 (2 years ago)
- Files:
-
- devel/mod/profile/lib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/profile/lib.php
r659 r692 49 49 if (!isset($CFG->profilelocation)) { 50 50 $CFG->profilelocation = $CFG->dirroot . "mod/profile/"; 51 } else { 52 53 if (!file_exists($CFG->profilelocation . "profile.config.php")) { 54 if (!copy($CFG->dirroot . "mod/profile/profile.config.php",$CFG->profilelocation . "profile.config.php")) { 55 $CFG->profilelocation = $CFG->dirroot . "mod/profile/"; 56 } 57 } 58 51 59 } 52 60 53 $function['search:init'][] = $CFG-> dirroot . "mod/profile/profile.config.php";61 $function['search:init'][] = $CFG->profilelocation . "profile.config.php"; 54 62 55 63 // Add items to the dashboard if it exists
