offtopic: Loved the warning about how old the thread was
On my rutorrent install (3.5) i have moved the share/users/* dir outside rutorrent and have updated the path in config/config.php "$profilePath" to reflect that.
On the webserver log i saw this:
Code:
2012-12-08 14:08:52: (mod_fastcgi.c.2701) FastCGI-stderr: PHP Warning: scandir(/var/www/rutorrent/share/users/): failed to open dir: No such file or directory in /var/www/rutorrent/plugins/logoff/init.php on line 7
PHP Warning: scandir(): (errno 2): No such file or directory in /var/www/rutorrent/plugins/logoff/init.php on line 7
logoff/init.php uses: $rootPath . "share/users/" as the path, which ofc points to "/var/www/rutorrent/share/users/"
I modified the line to have the full path to where i got share/users/ and i no longer get that error. I doubt the author will see this and update the script if needed but maybe it will help someone else
ps. Though it gave that error it didn't affect the plugin, but got no idea what happens when you have multiple users.