Tag branch as Znote AAC 2.0_DEV, PHP requirement 7.2

This commit is contained in:
Znote 2021-07-22 20:25:26 +02:00
parent 8a71f19db0
commit 400497bd25
4 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
<?php <?php
// Verify the PHP version, gives tutorial if fail. // Verify the PHP version, gives tutorial if fail.
if (version_compare(phpversion(), '5.3.3', '<')) die('PHP 5.3.3 or higher is required'); if (version_compare(phpversion(), '7.2', '<')) die('PHP version 7.2 or higher is required.');
if (!isset($filepath)) $filepath = '../'; if (!isset($filepath)) $filepath = '../';
$version = '1.5_SVN'; $version = '2.0_DEV';
session_start(); session_start();
ob_start(); ob_start();
require_once $filepath.'config.php'; require_once $filepath.'config.php';

View File

@ -1,6 +1,6 @@
<?php <?php
$time = time(); $time = time();
if (!isset($version)) $version = '1.5_SVN'; if (!isset($version)) $version = '2.0_DEV';
if (!function_exists("elapsedTime")) { if (!function_exists("elapsedTime")) {
function elapsedTime($l_start = false, $l_time = false) { function elapsedTime($l_start = false, $l_time = false) {

View File

@ -1,6 +1,6 @@
-- Start of Znote AAC database schema -- Start of Znote AAC database schema
SET @znote_version = '1.5_SVN'; SET @znote_version = '2.0_DEV';
CREATE TABLE IF NOT EXISTS `znote` ( CREATE TABLE IF NOT EXISTS `znote` (
`id` int NOT NULL AUTO_INCREMENT, `id` int NOT NULL AUTO_INCREMENT,

View File

@ -1,4 +1,4 @@
<?php if (version_compare(phpversion(), '5.6', '<')) die('PHP version 5.6 or higher is required.'); <?php if (version_compare(phpversion(), '7.2', '<')) die('PHP version 7.2 or higher is required.');
$l_time = microtime(); $l_time = microtime();
$l_time = explode(' ', $l_time); $l_time = explode(' ', $l_time);
@ -15,7 +15,7 @@ function elapsedTime($l_start = false, $l_time = false) {
} }
$time = time(); $time = time();
$version = '1.5_SVN'; $version = '2.0_DEV';
$aacQueries = 0; $aacQueries = 0;
$accQueriesData = array(); $accQueriesData = array();