Changeset 6203
- Timestamp:
- 08/20/08 16:07:19 (5 months ago)
- Location:
- trunk/centreon/www/include/eventLogs
- Files:
-
- 2 modified
-
GetODSCSVLog.php (modified) (1 diff)
-
GetODSXmlLog.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/centreon/www/include/eventLogs/GetODSCSVLog.php
r6068 r6203 38 38 39 39 // save of the XML flow in $flux 40 $csv_flag = 1; //setting the csv_flag variable to change limit in SQL request of getODSXmlLog.php when CSV exporting 40 41 ob_start(); 41 42 require_once $centreon_path."www/include/eventLogs/GetODSXmlLog.php"; -
trunk/centreon/www/include/eventLogs/GetODSXmlLog.php
r6040 r6203 463 463 * Full Request 464 464 */ 465 $req .= " ORDER BY ctime DESC,log_id DESC LIMIT $lstart,$limit"; 465 if(isset($csv_flag) && ($csv_flag == 1)) 466 $req .= " ORDER BY ctime DESC,log_id DESC LIMIT 0,64000"; //limit a little less than 2^16 which is excel maximum number of lines 467 else 468 $req .= " ORDER BY ctime DESC,log_id DESC LIMIT $lstart,$limit"; 469 466 470 467 471 $DBRESULT =& $pearDBO->query($req);
