Update deps. Fix version string.

This commit is contained in:
Lars Jung 2015-12-19 17:01:45 +01:00
parent 2e8ae301c5
commit 0e5b463acf
4 changed files with 12 additions and 6 deletions

View file

@ -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');
}

View file

@ -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');