2013-08-16 Miguel de Dios <miguel.dedios@artica.es>

* extensions/pandora_logs.php: fixed the translation the human
	size of php memory limit to bytes size limit.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2013-08-16 10:02:07 +00:00
parent cb923ec4bc
commit 8425befd61
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-08-16 Miguel de Dios <miguel.dedios@artica.es>
* extensions/pandora_logs.php: fixed the translation the human
size of php memory limit to bytes size limit.
2013-08-16 Miguel de Dios <miguel.dedios@artica.es>
* include/ajax/module.php, include/javascript/pandora_modules.js:

View File

@ -18,7 +18,8 @@ function view_logfile ($file_name) {
global $config;
$memory_limit = ini_get("memory_limit");
if (strstr("M", $memory_limit) !== false) {
if (strstr($memory_limit, "M") !== false) {
$memory_limit = str_replace("M", "", $memory_limit);
$memory_limit = $memory_limit * 1024 * 1024;