Changeset 1521 for trunk/expressoAdmin1_2/inc
- Timestamp:
- 10/20/09 15:57:09 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoAdmin1_2/inc/class.user.inc.php
r1516 r1521 532 532 { 533 533 534 if ($_FILES['photo']['size'] > 10000) 534 $size_conf = $this->current_config['expressoAdmin_photo_length'] == '' ? 10000:$this->current_config['expressoAdmin_photo_length'] ; 535 if ($_FILES['photo']['size'] > $size_conf) 535 536 { 536 537 $return['status'] = false; 537 $return['msg'] .= $this->functions->lang('User photo could not be save because is bigger the 10 kb') . '.';538 $return['msg'] .= $this->functions->lang('User photo could not be save because is bigger the').' '.($size_conf/1024).' kb.'; 538 539 } 539 540 else
Note: See TracChangeset
for help on using the changeset viewer.