Magellan Linux

Diff of /alx-src/trunk/alx-web/mageupgrade.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 485 by niro, Wed Jun 4 22:35:14 2008 UTC revision 486 by niro, Sat Jun 7 17:25:27 2008 UTC
# Line 65  Line 65 
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;

Legend:
Removed from v.485  
changed lines
  Added in v.486