Fix v_1.2

This commit is contained in:
Timon Ostertun
2020-09-25 19:02:52 +02:00
parent 89d53e0854
commit 5bc2d19800
4 changed files with 8 additions and 2 deletions

View File

@@ -2,6 +2,7 @@
header('Content-Type: text/javascript');
require_once(__DIR__ . '/../../server/version.php');
require_once(__DIR__ . '/../../server/config.php');
?>

View File

@@ -1,7 +1,6 @@
<?php
define('PWA_VERSION', '1.2');
require_once(__DIR__ . '/server/version.php');
require_once(__DIR__ . '/server/config.php');
require_once(__DIR__ . '/server/log.php');
require_once(__DIR__ . '/server/templates.php');

View File

@@ -2,6 +2,7 @@
header('Content-Type: application/json');
require_once(__DIR__ . '/server/version.php');
require_once(__DIR__ . '/server/config.php');
?>

5
server/version.php Normal file
View File

@@ -0,0 +1,5 @@
<?php
define('PWA_VERSION', '1.2');
?>