summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/index.php b/index.php
index 7b92524..9d62f52 100644
--- a/index.php
+++ b/index.php
@@ -27,13 +27,13 @@
<th>Latest Thread</th>
</tr>
<?php
- include('includes/db_inc.php');
- include('includes/model/Category.php');
+ include_once './includes/functions_category.php';
+ include_once './includes/model/Category.php';
- $categories = get_all_categories($dbc);
+ $categories = get_all_categories();
foreach ($categories as $category) {
- $latest_thread = $category->get_latest_thread($dbc);
+ $latest_thread = $category->get_latest_thread();
echo '<tr>';
echo '<td>';