mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
shooting out debug code see MDL-13993
This commit is contained in:
parent
09069c0df0
commit
9c162f7a7d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user