forked from halo-battle/game
Version 1.0a
This commit is contained in:
parent
e391f66774
commit
6a19363758
908 changed files with 22193 additions and 17408 deletions
22
cron/optimize.php
Normal file
22
cron/optimize.php
Normal 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();
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue