Permalink
Browse files

shooting out debug code see MDL-13993

  • Loading branch information...
1 parent d3d7ba8 commit 30ab1999fb694efded308753d0bb087495bd4bc9 diml committed Mar 20, 2008
Showing with 4 additions and 3 deletions.
  1. +4 −3 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('<hr/>', $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);

0 comments on commit 30ab199

Please sign in to comment.