From 11db09b44d07364427d9a9a58a2d49fa9b8088bd Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Wed, 5 Jun 2019 12:42:39 -0600 Subject: [PATCH] Rename view.html for the router to template-view.html --- src/php/api/router.php | 4 ++-- view.html => template-view.html | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename view.html => template-view.html (100%) diff --git a/src/php/api/router.php b/src/php/api/router.php index 4c5e3c9..4a7e6d5 100644 --- a/src/php/api/router.php +++ b/src/php/api/router.php @@ -3,7 +3,7 @@ $view = isset($_GET['view']) ? $_GET['view'] : false; switch ($view) { case 'dictionary': { - $html = file_get_contents('../view.html'); + $html = file_get_contents('../template-view.html'); $dict = isset($_GET['dict']) ? $_GET['dict'] : false; if ($dict !== false) { require_once('./Dictionary.php'); @@ -27,7 +27,7 @@ switch ($view) { break; } case 'word': { - $html = file_get_contents('../view.html'); + $html = file_get_contents('../template-view.html'); $dict = isset($_GET['dict']) ? $_GET['dict'] : false; $word = isset($_GET['word']) ? $_GET['word'] : false; if ($dict !== false && $word !== false) { diff --git a/view.html b/template-view.html similarity index 100% rename from view.html rename to template-view.html