Make WordPress Core


Ignore:
Timestamp:
11/19/2004 02:18:23 AM (21 years ago)
Author:
saxmatt
Message:

Don't cache pages with DB errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/plugins/staticize-reloaded.php

    r1755 r1865  
    6767        return $buffer;
    6868    endif;
     69
     70    if ( strstr($buffer, 'wpdberror') )
     71        return $buffer;
    6972
    7073    $fr = fopen(CACHE_PATH . $staticFileName, 'a');
     
    142145}
    143146
    144 if(function_exists('add_action')) {
     147if( function_exists('add_action') ) {
    145148    StaticizeInit();
    146149
Note: See TracChangeset for help on using the changeset viewer.