mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-15 17:51:39 +01:00
Version 0.9.1 (Beta)
This commit is contained in:
17
README.md
17
README.md
@@ -24,8 +24,7 @@ to install without problems. Master is bleeding edge, use tags for versions and
|
||||
## Install
|
||||
|
||||
For installing, only download last version from https://gitlab.com/JKANetwork/CheckServer/tags (not git master, reason
|
||||
below. **Think of tags as releases**)
|
||||
, decompress it and copy all to the folder in your hosting.
|
||||
below. **Think of tags as releases**), decompress it and copy all to the folder in your hosting.
|
||||
|
||||
Please **do not download and use master git**,it is not recommended, because is for devel and things like installer sql can not work right. Use the tags. **Think of tags as releases**
|
||||
|
||||
@@ -38,18 +37,24 @@ For finishing it, you have to add a cron in your system for running checks. The
|
||||
|
||||
## Update
|
||||
|
||||
Decompress folder over your installation folder, and run "updater.php",
|
||||
it will update and say if something goes wrong. Its a good idea to make
|
||||
a backup of your sqlite.db3 database.
|
||||
|
||||
## Changelog
|
||||
|
||||
### (WIP) Version 0.9.1
|
||||
### (WIP) Version 0.9.2
|
||||
|
||||
-TODO: More info in admin page
|
||||
|
||||
### Version 0.9.1 (Beta)
|
||||
|
||||
-See uptime percent
|
||||
|
||||
-Optimized index webpage, times went down to half when have a lot of pages
|
||||
|
||||
-TODO: Better index admin page (More data)
|
||||
|
||||
### Version 0.9 (Beta)
|
||||
|
||||
-First public version
|
||||
|
||||
-Supports ping at different ports, httpcode returns (default or custom), and MySQL/sqlite/PgSQL status. Also you can post news to index, and have a (invisible) visit counter of visits in your webpages.
|
||||
-Supports ping at different ports, httpcode returns (default or custom), and MySQL/sqlite/PgSQL status. Also you can post news to index, and have a (invisible) visit counter of visits in your webpages.
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
$d_time = microtime(true);
|
||||
require_once "functions.php";
|
||||
|
||||
$results = dbw_query($db_conn,"SELECT * FROM GROUPS"); //All groups
|
||||
@@ -63,7 +62,7 @@ while ($onechk = dbw_fetch_array($db_conn,$results)){
|
||||
|
||||
}
|
||||
|
||||
//Here load "News"
|
||||
//Here load "News"
|
||||
|
||||
$incidents = dbw_query($db_conn,"SELECT * FROM NEWS ORDER BY ID_N DESC LIMIT 20");
|
||||
while ($incident = dbw_fetch_array($db_conn,$incidents)){
|
||||
@@ -84,5 +83,4 @@ while ($incident = dbw_fetch_array($db_conn,$incidents)){
|
||||
}
|
||||
|
||||
echo $twig->render('indexpage.twig', array('T_' => $T_, 'you' => $you, 'checks' => $chks, 'news' => $incs)); //Render
|
||||
echo "<p>Página creada en ".round(microtime(true)-$d_time,2)." segundos</p>";
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user