aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/functions.php
diff options
context:
space:
mode:
authormemiks <memiks@memiks.fr>2013-04-23 08:09:54 -0500
committermemiks <memiks@memiks.fr>2013-04-23 08:09:54 -0500
commitcdcc8d2533d2ed65ac6a89c9a6d0041de7361ce1 (patch)
tree5620215e6d3a96234b799f868ed9aaf7c5fe8224 /inc/functions.php
parentae9571694f94ef363dba8564fef6b43ae833b508 (diff)
downloadwallabag-cdcc8d2533d2ed65ac6a89c9a6d0041de7361ce1.tar.gz
wallabag-cdcc8d2533d2ed65ac6a89c9a6d0041de7361ce1.tar.zst
wallabag-cdcc8d2533d2ed65ac6a89c9a6d0041de7361ce1.zip
Remove debug on Readability output
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php5
1 files changed, 2 insertions, 3 deletions
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)
134 $r = new Readability($html, $url); 134 $r = new Readability($html, $url);
135 135
136 $r->convertLinksToFootnotes = CONVERT_LINKS_FOOTNOTES; 136 $r->convertLinksToFootnotes = CONVERT_LINKS_FOOTNOTES;
137 $r->debug=true; 137 $r->revertForcedParagraphElements = REVERT_FORCED_PARAGRAPH_ELEMENTS;
138 $r->revertForcedParagraphElements = REVERT_FORCED_PARAGRAPH_ELEMENTS;
139 138
140 if($r->init()) 139 if($r->init())
141 { 140 {
@@ -372,4 +371,4 @@ function logm($message)
372{ 371{
373 $t = strval(date('Y/m/d_H:i:s')).' - '.$_SERVER["REMOTE_ADDR"].' - '.strval($message)."\n"; 372 $t = strval(date('Y/m/d_H:i:s')).' - '.$_SERVER["REMOTE_ADDR"].' - '.strval($message)."\n";
374 file_put_contents('./log.txt',$t,FILE_APPEND); 373 file_put_contents('./log.txt',$t,FILE_APPEND);
375} \ No newline at end of file 374}