mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 11:19:22 +02:00
Tag branch as Znote AAC 2.0_DEV, PHP requirement 7.2
This commit is contained in:
parent
8a71f19db0
commit
400497bd25
@ -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';
|
||||||
|
@ -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) {
|
||||||
|
@ -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,
|
||||||
|
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user