Skip to content

Commit

Permalink
Move definition of PHP_MIN_VERSION to constant_inc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Oct 22, 2017
1 parent e78e718 commit f49b848
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions core/constant_inc.php
Expand Up @@ -35,6 +35,7 @@
define( 'WARN', 2 );

# PHP-related constants
define( 'PHP_MIN_VERSION', '5.5.0' );
define( 'PHP_CLI', 0 );
define( 'PHP_CGI', 1 );

Expand Down
5 changes: 0 additions & 5 deletions core/php_api.php
Expand Up @@ -27,11 +27,6 @@
* @link http://www.mantisbt.org
*/

/**
* Constant for our minimum required PHP version
*/
define( 'PHP_MIN_VERSION', '5.5.0' );

/**
* Determine if PHP is running in CLI or CGI mode and return the mode.
* @return int PHP mode
Expand Down

0 comments on commit f49b848

Please sign in to comment.