mirror of
https://github.com/moparisthebest/wallabag
synced 2024-11-27 11:22:17 -05:00
Remove debug on Readability output
This commit is contained in:
parent
ae9571694f
commit
cdcc8d2533
@ -134,8 +134,7 @@ function prepare_url($url)
|
|||||||
$r = new Readability($html, $url);
|
$r = new Readability($html, $url);
|
||||||
|
|
||||||
$r->convertLinksToFootnotes = CONVERT_LINKS_FOOTNOTES;
|
$r->convertLinksToFootnotes = CONVERT_LINKS_FOOTNOTES;
|
||||||
$r->debug=true;
|
$r->revertForcedParagraphElements = REVERT_FORCED_PARAGRAPH_ELEMENTS;
|
||||||
$r->revertForcedParagraphElements = REVERT_FORCED_PARAGRAPH_ELEMENTS;
|
|
||||||
|
|
||||||
if($r->init())
|
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";
|
$t = strval(date('Y/m/d_H:i:s')).' - '.$_SERVER["REMOTE_ADDR"].' - '.strval($message)."\n";
|
||||||
file_put_contents('./log.txt',$t,FILE_APPEND);
|
file_put_contents('./log.txt',$t,FILE_APPEND);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user