Browse Source

[svn r13304] Set memory_limit to 128M instead of no limit

Yannick Warnier 17 years ago
parent
commit
7fd9021240
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/newscorm/learnpath.class.php

+ 1 - 1
main/newscorm/learnpath.class.php

@@ -7123,7 +7123,7 @@ function display_thread_form($action = 'add', $id = 0, $extra_info = '')
 		//remove memory and time limits as much as possible as this might be a long process...
 		if(function_exists('ini_set'))
 		{
-			ini_set('memory_limit',-1);
+			ini_set('memory_limit','128M');
 			ini_set('max_execution_time',600);
 		//}else{
 			//error_log('Scorm export: could not change memory and time limits',0);