Changeset 25018 for trunk/admin/include/photos_add_direct_prepare.inc.php
- Timestamp:
- Oct 19, 2013, 7:43:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/photos_add_direct_prepare.inc.php
r23944 r25018 210 210 if (!empty($error_message)) 211 211 { 212 array_push($setup_errors, $error_message);212 $setup_errors[] = $error_message; 213 213 } 214 214 215 215 if (!function_exists('gd_info')) 216 216 { 217 array_push($setup_errors, l10n('GD library is missing'));217 $setup_errors[] = l10n('GD library is missing'); 218 218 } 219 219 … … 236 236 if ($conf['use_exif'] and !function_exists('read_exif_data')) 237 237 { 238 array_push( 239 $setup_warnings, 240 l10n('Exif extension not available, admin should disable exif use') 241 ); 238 $setup_warnings[] = l10n('Exif extension not available, admin should disable exif use'); 242 239 } 243 240 244 241 if (get_ini_size('upload_max_filesize') > get_ini_size('post_max_size')) 245 242 { 246 array_push( 247 $setup_warnings, 248 sprintf( 249 l10n('In your php.ini file, the upload_max_filesize (%sB) is bigger than post_max_size (%sB), you should change this setting'), 250 get_ini_size('upload_max_filesize', false), 251 get_ini_size('post_max_size', false) 252 ) 243 $setup_warnings[] = l10n( 244 'In your php.ini file, the upload_max_filesize (%sB) is bigger than post_max_size (%sB), you should change this setting', 245 get_ini_size('upload_max_filesize', false), 246 get_ini_size('post_max_size', false) 253 247 ); 254 248 }
Note: See TracChangeset
for help on using the changeset viewer.