WordPress.org

Make WordPress Core

Changeset 9612


Ignore:
Timestamp:
11/11/08 19:11:48 (6 years ago)
Author:
ryan
Message:

Increase memory limit when unzipping. fixes #8149

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/file.php

    r9527 r9612  
    469469    if ( ! $wp_filesystem || !is_object($wp_filesystem) ) 
    470470        return new WP_Error('fs_unavailable', __('Could not access filesystem.')); 
     471 
     472    // Unzip uses a lot of memory 
     473    @ini_set('memory_limit', '256M'); 
    471474 
    472475    $fs =& $wp_filesystem; 
Note: See TracChangeset for help on using the changeset viewer.