2014-06-27 Miguel de Dios <miguel.dedios@artica.es>

* godmode/update_manager/update_manager.online.php: set to 500mb the
	check of memory limit.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-06-27 13:44:19 +00:00
parent 074d1e0eb9
commit 7edac8b9c4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-06-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/update_manager/update_manager.online.php: set to 500mb the
check of memory limit.
2014-06-26 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/license.php: fix the link to new update manager.

View File

@ -38,9 +38,9 @@ echo "<p><b>" . sprintf(__("The last version of package installed is: %d"),
$memory_limit = ini_get("memory_limit");
$memory_limit = str_replace("M", "", $memory_limit);
$memory_limit = (int)$memory_limit;
if ($memory_limit < 512) {
if ($memory_limit < 500) {
ui_print_error_message(
sprintf(__('Your PHP has set memory limit in %s. For avoid problems with big updates please set to 512M'), ini_get("memory_limit"))
sprintf(__('Your PHP has set memory limit in %s. For avoid problems with big updates please set to 500M'), ini_get("memory_limit"))
);
}