From 9c162f7a7d892c281f3038b6b902962c9037adeb Mon Sep 17 00:00:00 2001 From: diml Date: Thu, 20 Mar 2008 19:30:53 +0000 Subject: [PATCH] shooting out debug code see MDL-13993 --- search/documents/physical_ppt.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/search/documents/physical_ppt.php b/search/documents/physical_ppt.php index c9ceb55e08..7d89e74ed7 100644 --- a/search/documents/physical_ppt.php +++ b/search/documents/physical_ppt.php @@ -66,9 +66,10 @@ function get_text_for_indexing_ppt(&$resource){ $indextext = preg_replace('/\x0A/', "\n", $indextext); // some quotes $indextextprint = implode('
', $fragments); - $logppt = fopen("C:/php5/logs/pptlog", "w"); - fwrite($logppt, $indextext); - fclose($logppt); + // debug code + // $logppt = fopen("C:/php5/logs/pptlog", "w"); + // fwrite($logppt, $indextext); + // fclose($logppt); if (!empty($CFG->block_search_limit_index_body)){ $indextext = shorten($text, $CFG->block_search_limit_index_body); -- 2.39.5