aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2023-05-31 21:06:55 -0500
committerChristian Cleberg <hello@cleberg.net>2023-05-31 21:06:55 -0500
commit58ee925fe7e32d449f9541cf7e7b2dc409a5b212 (patch)
treeef4a130c7870dec3964539b54dcfb3d04d42f742
parente450de8cd009207a0d7a14537eeaef8ead0ae370 (diff)
downloadhn-58ee925fe7e32d449f9541cf7e7b2dc409a5b212.tar.gz
hn-58ee925fe7e32d449f9541cf7e7b2dc409a5b212.tar.bz2
hn-58ee925fe7e32d449f9541cf7e7b2dc409a5b212.zip
fix path to class
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 436420e..b9c0b63 100644
--- a/index.php
+++ b/index.php
@@ -97,7 +97,7 @@ function get_stories($api_url, $inline_title)
* @param string $page_content Page content to display in <main>
*/
function echo_html(string $page_url, string $page_description, string $page_title, string $page_content) {
- include_once '_classes/template.php';
+ include_once 'src/View/class-template.php';
$template = new HN\View\Template(
$page_url,