22 lines
459 B
PHP
22 lines
459 B
PHP
|
<?php
|
||
|
if(!defined('INDEX')) define('INDEX', 1);
|
||
|
|
||
|
set_time_limit(500);
|
||
|
require('../includes/common.php');
|
||
|
|
||
|
$chapeau = new bdd();
|
||
|
$chapeau->connexion();
|
||
|
$chapeau->db();
|
||
|
|
||
|
mysql_query("OPTIMIZE TABLE `flottes`;
|
||
|
OPTIMIZE TABLE `flottes`;
|
||
|
OPTIMIZE TABLE `flottes_combats`;
|
||
|
OPTIMIZE TABLE `mail`;
|
||
|
OPTIMIZE TABLE `planete`;
|
||
|
OPTIMIZE TABLE `sessions`;
|
||
|
TRUNCATE TABLE `registre_identification`;
|
||
|
TRUNCATE TABLE `securite_identification`;
|
||
|
");
|
||
|
|
||
|
$chapeau->deconnexion();
|
||
|
?>
|