From: memiks Date: Tue, 23 Apr 2013 13:09:54 +0000 (-0500) Subject: Remove debug on Readability output X-Git-Tag: 0.3^2~10^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=cdcc8d2533d2ed65ac6a89c9a6d0041de7361ce1;p=github%2Fwallabag%2Fwallabag.git Remove debug on Readability output --- diff --git a/inc/functions.php b/inc/functions.php index b27120c5..0303aab6 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -134,8 +134,7 @@ function prepare_url($url) $r = new Readability($html, $url); $r->convertLinksToFootnotes = CONVERT_LINKS_FOOTNOTES; - $r->debug=true; - $r->revertForcedParagraphElements = REVERT_FORCED_PARAGRAPH_ELEMENTS; + $r->revertForcedParagraphElements = REVERT_FORCED_PARAGRAPH_ELEMENTS; if($r->init()) { @@ -372,4 +371,4 @@ function logm($message) { $t = strval(date('Y/m/d_H:i:s')).' - '.$_SERVER["REMOTE_ADDR"].' - '.strval($message)."\n"; file_put_contents('./log.txt',$t,FILE_APPEND); -} \ No newline at end of file +}