Added a little option to disable user image upload

This commit is contained in:
moodler
2003-12-11 12:59:54 +00:00
parent 404cfbb836
commit f1de6e874f
+1 -1
View File
@@ -179,7 +179,7 @@ if (isadmin()) {
<?php
$maxbytes = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
if (!empty($CFG->gdversion) and $maxbytes) {
if (!empty($CFG->gdversion) and $maxbytes and empty($CFG->disableuserimages)) {
?>
<tr valign=top>
<td><p><?php print_string("newpicture") ?>:</td>