From 60565ffeee573d426bf3bffe18c4852f7b798e2d Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 10 Mar 2024 17:08:59 -0600 Subject: [PATCH] fruitvote stats page path fix --- html/public/fruitvote/GoPage.php | 2 +- html/public/fruitvote/stats.php | 7 ------- html/public/fruitvote/stats/index.php | 7 +++++++ 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 html/public/fruitvote/stats.php create mode 100644 html/public/fruitvote/stats/index.php diff --git a/html/public/fruitvote/GoPage.php b/html/public/fruitvote/GoPage.php index d71f545..c0fde0e 100644 --- a/html/public/fruitvote/GoPage.php +++ b/html/public/fruitvote/GoPage.php @@ -4,7 +4,7 @@ class GoPage { private $socket; private $template; - public function __construct($page, $socket = "/home/simponic/fruitvote/http.sock", $template = "../template.html") { + public function __construct($page, $template = "../template.html", $socket = "/home/simponic/fruitvote/http.sock") { $this->page = $page; $this->socket = $socket; $this->template = $template; diff --git a/html/public/fruitvote/stats.php b/html/public/fruitvote/stats.php deleted file mode 100644 index 5147723..0000000 --- a/html/public/fruitvote/stats.php +++ /dev/null @@ -1,7 +0,0 @@ -render(); -?> diff --git a/html/public/fruitvote/stats/index.php b/html/public/fruitvote/stats/index.php new file mode 100644 index 0000000..691ba95 --- /dev/null +++ b/html/public/fruitvote/stats/index.php @@ -0,0 +1,7 @@ +render(); +?>