diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-09 11:36:52 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-09 11:36:52 -0400 |
commit | 89084a11030c162c4b26496089131726708512df (patch) | |
tree | ebe88a2df6e9611a04cc1cde55b710d2b37cc2fc | |
parent | 2e2c0919cb8fa7380327e4f156123bcb9f838c32 (diff) | |
download | ampache-89084a11030c162c4b26496089131726708512df.tar.gz ampache-89084a11030c162c4b26496089131726708512df.tar.bz2 ampache-89084a11030c162c4b26496089131726708512df.zip |
Make the install-time execution time check more better
-rw-r--r-- | lib/debug.lib.php | 2 | ||||
-rw-r--r-- | templates/show_install_check.inc.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/debug.lib.php b/lib/debug.lib.php index 928b4f8d..5add0363 100644 --- a/lib/debug.lib.php +++ b/lib/debug.lib.php @@ -221,7 +221,7 @@ function check_php_memory() { /** * check_php_timelimit * This checks to make sure that the php timelimit is set to some - * semi-sane limit, IE greater then 30 seconds + * semi-sane limit, IE greater then 60 seconds */ function check_php_timelimit() { diff --git a/templates/show_install_check.inc.php b/templates/show_install_check.inc.php index ecb820bc..d34d12bd 100644 --- a/templates/show_install_check.inc.php +++ b/templates/show_install_check.inc.php @@ -186,7 +186,7 @@ <td> <?php if (!check_php_timelimit()) { - echo debug_result(_('Execution time limit less than recommended') . ' ' . ini_get('max_execution_time'), false); + echo debug_result(sprintf(_('Execution time limit is %s seconds, which is less than recommended'), ini_get('max_execution_time')), false); } else { echo debug_result(ini_get('max_execution_time') . ' ' . _('seconds'),true); |