This is a discussion on Monitor performance mysql within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; This adds a delete button to clear the qlog table. Update only, Not full package. In catalog/admin/mysqlperformance.php: FIND: require('includes/application_top.php'); ADD ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| This adds a delete button to clear the qlog table. Update only, Not full package. In catalog/admin/mysqlperformance.php: FIND: require('includes/application_top.php'); ADD AFTER: switch ($HTTP_GET_VARS['action']) { case 'deleterecords': tep_db_query("delete from " . TABLE_MYSQL_PERFORMANCE); tep_redirect(tep_href_link(FILENAME_MYSQL_PERFORMA NCE)); break; } FIND: ADD AFTER: FIND: CHANGE TO: FIND: ADD AFTER: In catalog/admin/includes/languages/english/mysqlperformance.php: ADD BEFORE ?>: define('TEXT_DELETE','Delete all records?'); define('IMAGE_BUTTON_DELETE','Delete all records'); define('IMAGE_BUTTON_CANCEL','Do not delete records'); More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Monitor performance mysql | michael_s | New osCommerce Contributions | 0 | 02-04-2007 04:16 AM |
| mySQL 5 and PHP 5 problems | damnedpig | osCMax v1.7 Discussion | 4 | 12-30-2006 09:17 PM |
| Site Monitor Question | judoka | osCMax v1.7 Discussion | 0 | 07-18-2005 09:31 AM |
| MySQL? Please help! | extremenewb | osCommerce 2.2 Installation Help | 3 | 09-22-2004 07:31 AM |