Skip to content

Commit 9446548

Browse files
authored
Create update_dev_622-624.php
1 parent f421930 commit 9446548

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

install/update_dev_622-624.php

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?php
2+
3+
/**
4+
* File: update_616-620.php.
5+
* Author: Ulrich Block
6+
* Date: 19.07.20
7+
* Time: 18:38
8+
* Contact: <[email protected]>
9+
*
10+
* This file is part of Easy-WI.
11+
*
12+
* Easy-WI is free software: you can redistribute it and/or modify
13+
* it under the terms of the GNU General Public License as published by
14+
* the Free Software Foundation, either version 3 of the License, or
15+
* (at your option) any later version.
16+
*
17+
* Easy-WI is distributed in the hope that it will be useful,
18+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
* GNU General Public License for more details.
21+
*
22+
* You should have received a copy of the GNU General Public License
23+
* along with Easy-WI. If not, see <http://www.gnu.org/licenses/>.
24+
*
25+
* Diese Datei ist Teil von Easy-WI.
26+
*
27+
* Easy-WI ist Freie Software: Sie koennen es unter den Bedingungen
28+
* der GNU General Public License, wie von der Free Software Foundation,
29+
* Version 3 der Lizenz oder (nach Ihrer Wahl) jeder spaeteren
30+
* veroeffentlichten Version, weiterverbreiten und/oder modifizieren.
31+
*
32+
* Easy-WI wird in der Hoffnung, dass es nuetzlich sein wird, aber
33+
* OHNE JEDE GEWAEHELEISTUNG, bereitgestellt; sogar ohne die implizite
34+
* Gewaehrleistung der MARKTFAEHIGKEIT oder EIGNUNG FUER EINEN BESTIMMTEN ZWECK.
35+
* Siehe die GNU General Public License fuer weitere Details.
36+
*
37+
* Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
38+
* Programm erhalten haben. Wenn nicht, siehe <http://www.gnu.org/licenses/>.
39+
*/
40+
41+
if (isset($include) and $include == true) {
42+
43+
$query = $sql->prepare("INSERT INTO `easywi_version` (`version`,`de`,`en`) VALUES
44+
('6.2.4','<div align=\"right\">13.09.2023</div>')");
45+
$query->execute();
46+
$response->add('Action: insert_easywi_version done: ');
47+
48+
} else {
49+
echo "Error: this file needs to be included by the updater!<br />";
50+
}

0 commit comments

Comments
 (0)