fruitvote stats page path fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Elizabeth Hunt 2024-03-10 17:08:59 -06:00
parent d4830b93c9
commit 60565ffeee
Signed by: simponic
GPG Key ID: 52B3774857EB24B1
3 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -1,7 +0,0 @@
<?php
require_once("GoPage.php");
$page = new GoPage("/stats");
echo $page->render();
?>

View File

@ -0,0 +1,7 @@
<?php
require_once("../GoPage.php");
$page = new GoPage("/stats", "../../template.html");
echo $page->render();
?>