wok view turbine/stuff/res/base/status.cgi @ rev 24984

Up ufr2 (2.40-2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 10 07:46:30 2022 +0000 (2022-05-10)
parents
children
line source
1 #!/bin/bash
2 #
3 # Provided By The SliTaz Development Team.
4 # Copyright (C) 2017 The SliTaz Association.
5 #
6 # This program is free software: you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation, either version 3 of the License, or
9 # (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 #
19 # @@ Turbine Database.
20 . /var/www/cgi-bin/turbine/res/base/data
21 . /var/www/cgi-bin/turbine/res/template/scheme
23 case "$(GET)" in
24 img)
25 header "HTTP/1.1 200 OK\nContent-type: image/png"
26 case "$(GET img)" in
27 lg) cat $localicons/24/turbine.png ;;
28 esac ;;
29 *)
30 esac
32 header
34 appMETAINFO
35 textRELOAD
36 appSTATUS
37 appFOOTER
38 appCLOSE