2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* include/functions_reporting.php: Added set_time_limit to 500 secs
	to avoid php timeouts in projection and prediction reports.
	
	Fixes: #3458391



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5670 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2012-02-28 18:26:55 +00:00
parent 5efa633432
commit 49a4f53187
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2012-02-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_reporting.php: Added set_time_limit to 500 secs
to avoid php timeouts in projection and prediction reports.
Fixes: #3458391
2012-02-28 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql

View File

@ -2209,6 +2209,8 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
$data[2] = $sizh.human_time_description_raw ($content['period']).$sizhfin;
array_push ($table->data, $data);
set_time_limit(500);
// Put description at the end of the module (if exists)
$table->colspan[2][0] = 4;
if ($content["description"] != ""){
@ -2258,6 +2260,8 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f
$data[2] = $sizh.human_time_description_raw ($content['period']).$sizhfin;
array_push ($table->data, $data);
set_time_limit(500);
// Put description at the end of the module (if exists)
$table->colspan[2][0] = 4;
if ($content["description"] != ""){