--- alx-src/branches/alx-web-050/mageupgrade.php 2010/12/09 22:16:42 1629 +++ alx-src/branches/alx-web-050/mageupgrade.php 2010/12/09 22:31:39 1633 @@ -66,9 +66,9 @@ echo '
'; echo '
'; // hotfix copy a fixed mage.rc - system('scp /var/www/localhost/htdocs/alx/he/mage.rc root@'.$ip.':/etc/mage.rc'); + system('scp '.$magerc.' root@'.$ip.':/etc/mage.rc'); // hotfix2 and a config.rc - system('scp /var/www/localhost/htdocs/alx/he/config.rc root@'.$ip.':/etc/alxconfig-ng/config.rc'); + system('scp '.$configrc.' root@'.$ip.':/etc/alxconfig-ng/config.rc'); editvar("VERBOSE","off","/etc/mage.rc"); // update rsync server location @@ -105,9 +105,9 @@ echo '
'; #echo 'forcing verbose=off
'; // hotfix copy a fixed mage.rc - system('scp /var/www/localhost/htdocs/alx/he/mage.rc root@'.$ip.':/etc/mage.rc'); + system('scp '.$magerc.' root@'.$ip.':/etc/mage.rc'); // hotfix2 and a config.rc - system('scp /var/www/localhost/htdocs/alx/he/config.rc root@'.$ip.':/etc/alxconfig-ng/config.rc'); + system('scp '.$configrc.' root@'.$ip.':/etc/alxconfig-ng/config.rc'); editvar("VERBOSE","off","/etc/mage.rc"); // update rsync server location