Skip to content

Commit

Permalink
Disable php debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
SthephanShinkufag committed Sep 19, 2023
1 parent 9953180 commit 3ce0142
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions imgboard.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
// Uncomment to show debugging errors
error_reporting(E_ALL);
ini_set('display_errors', 1);
// error_reporting(E_ALL);
// ini_set('display_errors', 1);
ini_set('session.gc_maxlifetime', 2592000); // 30 days

session_start();
Expand Down
4 changes: 3 additions & 1 deletion inc/html.php
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,9 @@ function buildPage($htmlPosts, $parent, $pages = 0, $thispage = 0) {
</tr>
</tbody>
</table>' .
(ATOM_HTML_BOTTOM_INFO ? '<hr>' . ATOM_HTML_BOTTOM_INFO : '') .
(ATOM_HTML_BOTTOM_INFO ? '
<hr>
' . ATOM_HTML_BOTTOM_INFO : '') .
pageFooter($isInThread);
}

Expand Down

0 comments on commit 3ce0142

Please sign in to comment.