Changeset 283 for trunk/expressoAdmin1_2/inc/class.user.inc.php
- Timestamp:
- 05/21/08 16:40:23 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.user.inc.php
r208 r283 480 480 elseif ($_FILES['photo']['name'] != '') 481 481 { 482 483 if ($_FILES['photo']['size'] > 10000) 484 { 485 $return['status'] = false; 486 $return['msg'] .= 'Foto do usuário não foi salva, pois excede o tamanho máximo de 10 kb.'; 487 } 488 else 489 { 482 490 if ($new_values['photo_exist']) 483 491 { … … 492 500 $this->ldap_functions->ldap_save_photo($dn, $_FILES['photo']['tmp_name'], $new_values['photo_exist'], $photo_exist); 493 501 } 502 } 494 503 } 495 504
Note: See TracChangeset
for help on using the changeset viewer.