From 2d65d0f9dfe7ad79c465885fa8aec120df574226 Mon Sep 17 00:00:00 2001 From: Sejin Kim <54730100+kim3-sudo@users.noreply.github.com> Date: Tue, 20 Dec 2022 10:26:39 -0500 Subject: [PATCH 1/2] Add sort for services for group then service --- classes/constellation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/constellation.php b/classes/constellation.php index f7ab8d0..3dba616 100644 --- a/classes/constellation.php +++ b/classes/constellation.php @@ -73,7 +73,7 @@ class Constellation global $mysqli; //$query = $mysqli->query("SELECT id, name, description FROM services"); - $query = $mysqli->query("SELECT services.id, services.name, services.description, services_groups.name as group_name FROM services LEFT JOIN services_groups ON services.group_id=services_groups.id ORDER BY services_groups.name "); + $query = $mysqli->query("SELECT services.id, services.name, services.description, services_groups.name as group_name FROM services LEFT JOIN services_groups ON services.group_id=services_groups.id ORDER BY services_groups.name ASC, services.name;"); $array = array(); if ($query->num_rows){ $timestamp = time(); From 9951c22d0784dbb821fe574ec678feb88c71016f Mon Sep 17 00:00:00 2001 From: Sejin Kim <54730100+kim3-sudo@users.noreply.github.com> Date: Tue, 20 Dec 2022 10:30:25 -0500 Subject: [PATCH 2/2] Update minimum version to PHP5.5 This version is not compatible with PHP 5.4 due to a constants handling issue. See [GH issue #168](https://github.com/server-status-project/server-status/issues/168) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a31cd68..56fc5b9 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ It means the beta that is heavily unstable that is meant for contributors to mak #### Public Beta ##### This beta has some bugs that are not really noticeable and mostly exist as bugs. Best for trying the new features before updating! --> -Very simple server status page written in PHP that can run on **PHP 5.4+** - even on **shared webhosting** even without shell access. Because why waste your money on another server (or host on a server that you might want to do maintenance on), when you can use cheap webhosting? And as a cherry on top - it works even without javascript! +Very simple server status page written in PHP that can run on **PHP 5.5+** - even on **shared webhosting** even without shell access. Because why waste your money on another server (or host on a server that you might want to do maintenance on), when you can use cheap webhosting? And as a cherry on top - it works even without javascript! ## How do I install this thing? Simply put the files on your server and access it from your browser. There will be a simple install dialog waiting for you.