65 |
echo '<img src="pics/online.gif" align=top> '.strtoupper('Fetching new mage database for client #'.$client.' ('.$ip.')...<br>'); |
echo '<img src="pics/online.gif" align=top> '.strtoupper('Fetching new mage database for client #'.$client.' ('.$ip.')...<br>'); |
66 |
echo '<br>'; |
echo '<br>'; |
67 |
echo '<pre><div align=left class=left>'; |
echo '<pre><div align=left class=left>'; |
|
// hotfix copy a fixed mage.rc |
|
|
system('scp /var/www/localhost/htdocs/alx/he/mage.rc root@'.$ip.':/etc/mage.rc'); |
|
68 |
editvar("VERBOSE","off","/etc/mage.rc"); |
editvar("VERBOSE","off","/etc/mage.rc"); |
69 |
|
|
70 |
// update rsync server location |
// update rsync server location |
71 |
$rsync = sqlfirst('select client_locations.rsync from client_serials inner join client_locations on client_locations.location=client_serials.location and client_serials.serial='.$client, 'rsync'); |
$rsync = sqlfirst('select client_locations.rsync from client_serials inner join client_locations on client_locations.location=client_serials.location and client_serials.serial='.$client, 'rsync'); |
72 |
echo $rsync; |
echo $rsync; |