Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: optimizedb.php 5016 2010-06-12 00:24:02Z RyanGordon $
| * $Id$
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 36 | Zeile 36 |
---|
$db->set_table_prefix('');
foreach($mybb->input['tables'] as $table)
|
$db->set_table_prefix('');
foreach($mybb->input['tables'] as $table)
|
{ $db->optimize_table($table); $db->analyze_table($table);
| { if($db->table_exists($db->escape_string($table))) { $db->optimize_table($table); $db->analyze_table($table); }
|
} $db->set_table_prefix(TABLE_PREFIX);
| } $db->set_table_prefix(TABLE_PREFIX);
|