diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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>'; |