Version 1.0a

This commit is contained in:
nemunaire 2008-11-17 12:00:00 +01:00
commit 6a19363758
908 changed files with 22193 additions and 17408 deletions

22
cron/optimize.php Normal file
View file

@ -0,0 +1,22 @@
<?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();
?>