WordPress.org

Make WordPress Core

Changeset 6681


Ignore:
Timestamp:
01/29/2008 05:25:45 PM (13 years ago)
Author:
ryan
Message:

Increase memory limit. Props darkdragon. see #3141

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r6662 r6681  
    99 * @package WordPress
    1010 */
     11
     12if ( !defined('WP_MEMORY_LIMIT') )
     13    define('WP_MEMORY_LIMIT', '32M');
     14
     15if ( function_exists('memory_get_usage') && ( (int) @ini_get('memory_limit') < abs(intval(WP_MEMORY_LIMIT)) ) )
     16    @ini_set('memory_limit', WP_MEMORY_LIMIT);
    1117
    1218/**
Note: See TracChangeset for help on using the changeset viewer.