clockwerk-tools

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 16  →  ?path2? @ 17
/lib/fs/etc/cron.daily/iardumper
@@ -87,7 +87,9 @@
$_user = preg_replace('/\s/','_',$user);
$USER_FOLDER='/var/lib/iar/'.$_user;
if(!is_dir($USER_FOLDER)) mkdir($USER_FOLDER);
chown($USER_FOLDER, 'opensim');
chgrp($USER_FOLDER, 'opensim');
$req->admin_console_command('save iar '.$user.' / '.$USER_FOLDER.'/'.$_user.'.iar');
chown($USER_FOLDER, 'www-data');
chgrp($USER_FOLDER, 'www-data');
$req->admin_console_command('save iar '.$user.' / '.$USER_FOLDER.'/'.$_user.'.iar');
}