"disqus.com", "SCRIPT_NAME" => "", "PHP_SELF" => __FILE__, "SERVER_NAME" => "localhost", "REQUEST_URI" => "/", "REQUEST_METHOD" => "GET" ); require_once(ABSPATH . 'wp-config.php'); // swap out the object cache due to memory constraints global $wp_object_cache; class DummyWP_Object_Cache extends WP_Object_Cache { function set($id, $data, $group = 'default', $expire = '') { return; } function delete($id, $group = 'default', $force = false) { return; } function add($id, $data, $group = 'default', $expire = '') { return; } } // HACK: kill all output buffers (some plugins, like Hyper Cache, use theses) while (@ob_end_flush()); // We cant simply replace the object cache incase set/add do something that // matters to the webserver // $wp_object_cache = new DummyWP_Object_Cache(); ?>