This commit is contained in:
denisdulici
2017-11-25 23:14:57 +03:00
parent 6c880893fc
commit a80c5757b0
3 changed files with 8 additions and 5 deletions

View File

@ -6,6 +6,14 @@
* @link https://akaunting.com
*/
// Define minimum supported PHP version
define('AKAUNTING_PHP', '5.6.4');
// Check PHP version
if (version_compare(PHP_VERSION, AKAUNTING_PHP, '<')) {
die('Your host needs to use PHP ' . AKAUNTING_PHP . ' or higher to run Akaunting');
}
// Register the auto-loader
require(__DIR__.'/bootstrap/autoload.php');