fixed undefined function
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 11:14:09 +0000 (11:14 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 11:14:09 +0000 (11:14 +0000)
lib/installlib.php

index 1867b9e..a1e8f0e 100644 (file)
@@ -255,7 +255,7 @@ function install_print_help_page($help) {
             print_string($help, 'install', phpversion());
             break;
         case 'memorylimithelp':
-            print_string($help, 'install', get_memory_limit());
+            print_string($help, 'install', @ini_get('memory_limit'));
             break;
         default:
             print_string($help, 'install');