Skip to content

Commit b2baa50

Browse files
authored
Merge pull request #169 from kim3-sudo/master
Updated sorting, version number in README ( Fixes #168 )
2 parents c9bcbc2 + 9951c22 commit b2baa50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It means the beta that is heavily unstable that is meant for contributors to mak
1313
#### Public Beta
1414
##### This beta has some bugs that are not really noticeable and mostly exist as bugs. Best for trying the new features before updating!
1515
-->
16-
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!
16+
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!
1717

1818
## How do I install this thing?
1919
Simply put the files on your server and access it from your browser. There will be a simple install dialog waiting for you.

classes/constellation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function render_status($admin = false, $heading = true){
7373
global $mysqli;
7474

7575
//$query = $mysqli->query("SELECT id, name, description FROM services");
76-
$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 ");
76+
$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;");
7777
$array = array();
7878
if ($query->num_rows){
7979
$timestamp = time();

0 commit comments

Comments
 (0)