Changeset 1004 for devel/_elggadmin
- Timestamp:
- 03/05/07 14:20:17 (2 years ago)
- Files:
-
- devel/_elggadmin/config-template.php (modified) (1 diff)
- devel/_elggadmin/configdef.php (modified) (1 diff)
- devel/_elggadmin/lib.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/_elggadmin/config-template.php
r942 r1004 168 168 //to move or copy /mod/template/templates/Default_Template/ to the new location 169 169 \$CFG->templatesroot = '$PARSEDCFG->templatesroot'; // use on-disk templates instead of DB templates 170 171 // PROFILE LOCATION 172 \$CFG->profilelocation = '$PARSEDCFG->templatelocation'; 170 173 171 174 //Template file handing is not currently recommended. devel/_elggadmin/configdef.php
r942 r1004 89 89 $DEFCFG->config['templatesroot']->name = ("Templates location"); 90 90 $DEFCFG->config['templatesroot']->description = ("The full path of your Default_Template directory"); 91 $DEFCFG->config['profilelocation']->name = ("Profile location"); 92 $DEFCFG->config['profilelocation']->description = ("The full path to your profile configuration file (usually it's best to leave this in mod/profile/)"); 91 93 92 94 ?> devel/_elggadmin/lib.php
r958 r1004 36 36 $CFG->templatesroot = $CFG->dirroot . "mod/template/templates/"; 37 37 } 38 if (!isset($CFG->profilelocation)) { 39 $CFG->profilelocation = $CFG->dirroot . "mod/profile/"; 40 } 38 41 39 42 // Check logins etc … … 76 79 } 77 80 78 // Set the templates root if it doesn't exist81 // Set the templates root and profile location if they don't exist 79 82 if (!isset($CFG->templatesroot)) { 80 83 $CFG->templatesroot = $CFG->dirroot . "mod/template/templates/"; 84 } 85 86 if (!isset($CFG->profilelocation)) { 87 $CFG->profilelocation = $CFG->dirroot . "mod/profile/"; 81 88 } 82 89
