mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-09-01 01:51:46 +02:00
Update deps. Fix version string.
This commit is contained in:
@@ -75,7 +75,7 @@ class Setup {
|
||||
private function add_app_metadata() {
|
||||
|
||||
$this->set('NAME', 'h5ai');
|
||||
$this->set('VERSION', '{{pkg.version}}');
|
||||
$this->set('VERSION', H5AI_VERSION);
|
||||
$this->set('FILE_PREFIX', '_h5ai');
|
||||
}
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
define('MIN_PHP_VERSION', '5.4.0');
|
||||
define('H5AI_VERSION', '{{VERSION}}');
|
||||
define('MIN_PHP_VERSION', '5.5.0');
|
||||
|
||||
if (!function_exists('version_compare') || version_compare(PHP_VERSION, MIN_PHP_VERSION, '<')) {
|
||||
header('Content-type: text/plain;charset=utf-8');
|
||||
|
Reference in New Issue
Block a user