mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-02 00:08:19 -04:00
Update deps. Fix version string.
This commit is contained in:
parent
2e8ae301c5
commit
0e5b463acf
4 changed files with 12 additions and 6 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue