From dfd3fe318029ae2ef2019d9683e6b1de7f125fd3 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Tue, 14 Jan 2014 17:40:08 +0000 Subject: [PATCH] 2014-01-14 Sergio Martin * include/functions_config.php: Fixed a warning message on PHP configuration advise. For Sourceforge ticket #2409 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_config.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 24b42e30d8..6373a672e6 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-01-14 Sergio Martin + + * include/functions_config.php: Fixed a warning message on + PHP configuration advise. For Sourceforge ticket #2409 + 2014-01-14 Sergio Martin * include/functions_groups.php: Fix group parameter in links diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index e8259b02b9..1f733e7a6e 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -1287,7 +1287,7 @@ function config_check () { if ($PHPmemory_limit < $PHPmemory_limit_min && $PHPmemory_limit !== '-1') { $config["alert_cnt"]++; $_SESSION["alert_msg"] .= ui_print_info_message( - array('title' => sprintf(__("Not recommended '%s' value in PHP configuration"), 'upload_max_filesize'), + array('title' => sprintf(__("Not recommended '%s' value in PHP configuration"), 'memory_limit'), 'message' => sprintf(__('Recommended value is: %s'), sprintf(__('%s or greater'), '500M')) . '

' . __('Please, change it on your PHP configuration file (php.ini) or contact with administrator'), 'no_close' => true, 'force_style' => 'color: #000000 !important'), '', true); }