fruitvote stats page path fix
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d4830b93c9
commit
60565ffeee
@ -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;
|
||||
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
|
||||
require_once("GoPage.php");
|
||||
|
||||
$page = new GoPage("/stats");
|
||||
echo $page->render();
|
||||
?>
|
7
html/public/fruitvote/stats/index.php
Normal file
7
html/public/fruitvote/stats/index.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
require_once("../GoPage.php");
|
||||
|
||||
$page = new GoPage("/stats", "../../template.html");
|
||||
echo $page->render();
|
||||
?>
|
Loading…
Reference in New Issue
Block a user