|
Revision 222, 340 bytes
(checked in by anarcat, 3 years ago)
|
[project @ alternc: changeset 2004-05-19 14:23:06 by benjamin]
Inclusion du patch de securite 01/05/2004.
Original author: benjamin
Date: 2004-05-19 14:23:06
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
include("config.php"); |
|---|
| 4 |
|
|---|
| 5 |
if (!$admin->enabled) { |
|---|
| 6 |
__("This page is restricted to authorized staff"); |
|---|
| 7 |
exit(); |
|---|
| 8 |
} |
|---|
| 9 |
|
|---|
| 10 |
$db->query("SELECT id,hostname FROM stats;"); |
|---|
| 11 |
while ($db->next_record()) { |
|---|
| 12 |
$d[]=$db->Record; |
|---|
| 13 |
} |
|---|
| 14 |
foreach ($d as $r) { |
|---|
| 15 |
echo "Stats de ".$r[0]." ".$r[1]." <br>\n"; flush(); |
|---|
| 16 |
$stats->_createconf($r[0],1); |
|---|
| 17 |
} |
|---|
| 18 |
|
|---|
| 19 |
?> |
|---|