Merge branch 'master' into docker
This commit is contained in:
commit
157ed79ffc
28
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
28
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Report a bug with this project. Don't use this if you need help configuring
|
||||
it
|
||||
|
||||
---
|
||||
|
||||
## Description
|
||||
A short description of what's going on
|
||||
|
||||
## Server
|
||||
Every info you can provide about your server: web server, database, PHP version, ... as well as server-side speedtest settings
|
||||
If possible, provide an URL to your speedtest so we can check it
|
||||
|
||||
## Client
|
||||
Browser, OS, type of connection, unusual software, ...
|
||||
|
||||
## Steps to reproduce
|
||||
* Do this
|
||||
* Do that
|
||||
* Bad stuff happens
|
||||
|
||||
## Expected behaviour
|
||||
What should have happened
|
||||
|
||||
## Screenshots
|
||||
If necessary, add screenshots of the test.
|
||||
F12 > Network screenshots can be particularly useful
|
17
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
17
.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
|
||||
---
|
||||
|
||||
## Description
|
||||
A short description of your idea
|
||||
|
||||
## Why it should be implemented
|
||||
Who it would benefit, ...
|
||||
|
||||
## Optional: implementation suggestions
|
||||
If you have experience in this field, feel free to give us suggestions
|
||||
|
||||
## Optional: screenshots
|
||||
Add some screenshots, mockups, ... if they help clarify what you want
|
|
@ -91,6 +91,7 @@ if($stats_password=="PASSWORD"){
|
|||
$q=$conn->prepare("select id,timestamp,ip,ispinfo,ua,lang,dl,ul,ping,jitter,log,extra from speedtest_users where id=?");
|
||||
$q->bind_param("i",$_POST["id"]);
|
||||
$q->execute();
|
||||
$q->store_result();
|
||||
$q->bind_result($id,$timestamp,$ip,$ispinfo,$ua,$lang,$dl,$ul,$ping,$jitter,$log,$extra);
|
||||
} else if($db_type=="sqlite"||$db_type=="postgresql"){
|
||||
$q=$conn->prepare("select id,timestamp,ip,ispinfo,ua,lang,dl,ul,ping,jitter,log,extra from speedtest_users where id=?");
|
||||
|
@ -100,6 +101,7 @@ if($stats_password=="PASSWORD"){
|
|||
if($db_type=="mysql"){
|
||||
$q=$conn->prepare("select id,timestamp,ip,ispinfo,ua,lang,dl,ul,ping,jitter,log,extra from speedtest_users order by timestamp desc limit 0,100");
|
||||
$q->execute();
|
||||
$q->store_result();
|
||||
$q->bind_result($id,$timestamp,$ip,$ispinfo,$ua,$lang,$dl,$ul,$ping,$jitter,$log,$extra);
|
||||
} else if($db_type=="sqlite"||$db_type=="postgresql"){
|
||||
$q=$conn->prepare("select id,timestamp,ip,ispinfo,ua,lang,dl,ul,ping,jitter,log,extra from speedtest_users order by timestamp desc limit 0,100");
|
||||
|
|
Loading…
Reference in a new issue