diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-09 11:42:25 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-09 11:42:25 -0400 |
commit | da5992d6791052af0b798c2880c4146c2fc9ccaf (patch) | |
tree | 74195229f5b422d9c2e47badbc5599ad24f459b5 /lib/debug.lib.php | |
parent | 89084a11030c162c4b26496089131726708512df (diff) | |
download | ampache-da5992d6791052af0b798c2880c4146c2fc9ccaf.tar.gz ampache-da5992d6791052af0b798c2880c4146c2fc9ccaf.tar.bz2 ampache-da5992d6791052af0b798c2880c4146c2fc9ccaf.zip |
Fix an off-by-one error in the execution time check
Diffstat (limited to 'lib/debug.lib.php')
-rw-r--r-- | lib/debug.lib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debug.lib.php b/lib/debug.lib.php index 5add0363..4c8b0ec0 100644 --- a/lib/debug.lib.php +++ b/lib/debug.lib.php @@ -226,7 +226,7 @@ function check_php_memory() { function check_php_timelimit() { $current = intval(ini_get('max_execution_time')); - return ($current > 60 || $current == 0); + return ($current >= 60 || $current == 0); } // check_php_timelimit |