Skip to content

Commit

Permalink
Also check for bcmath
Browse files Browse the repository at this point in the history
  • Loading branch information
kormoc committed Jan 11, 2013
1 parent d3abf0a commit 1715978
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
die();
}

if (!function_exists('bcadd')) {
print "Anemometer requires the BCMath extension";
die();
}

set_include_path( get_include_path() . PATH_SEPARATOR . "./lib");
require "Helpers.php";
require "Anemometer.php";
Expand Down

0 comments on commit 1715978

Please sign in to comment.