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 5297 2010-12-28 22:01:14Z Tomm $
| * $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);
|