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:
parent
074d1e0eb9
commit
7edac8b9c4
|
@ -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.
|
||||
|
|
|
@ -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"))
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue