From 2098bf444afadcf0363d89b4cc1dca5d2213d754 Mon Sep 17 00:00:00 2001 From: cflip <36554078+cflip@users.noreply.github.com> Date: Sat, 24 Apr 2021 19:40:50 -0600 Subject: Remove all uses of db_inc.php This method of importing the database login every time wasn't very good. Now everything uses the new Database singleton class. --- index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 7b92524..9d62f52 100644 --- a/index.php +++ b/index.php @@ -27,13 +27,13 @@ Latest Thread get_latest_thread($dbc); + $latest_thread = $category->get_latest_thread(); echo ''; echo ''; -- cgit v1.2.3