fixed #94
This commit is contained in:
@ -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');
|
||||
|
||||
|
Reference in New Issue
Block a user