opensim-tools

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 92  →  ?path2? @ 93
/lib/fs/etc/cron.daily/iardumper
@@ -80,7 +80,7 @@
array_shift($argv);
 
// Create the request
$req = new KOS('http://localhost:10000', 'opensim');
$req = new wasRemoteAdmin('http://localhost:10000', 'opensim');
 
// ..and dump
foreach($users as $user) {
@@ -88,5 +88,5 @@
$USER_FOLDER='/var/lib/iar/'.$_user;
if(!is_dir($USER_FOLDER)) mkdir($USER_FOLDER);
chown($USER_FOLDER, 'opensim');
$req->send('save iar '.$user.' / '.$USER_FOLDER.'/'.$_user.'.iar');
$req->admin_console_command('save iar '.$user.' / '.$USER_FOLDER.'/'.$_user.'.iar');
}