|
Post by wiseguy on Dec 24, 2009 7:35:34 GMT 7
Hallo,
I cant get any access to my thecus, when I use for example the module RSYNC or RSNAPSHOT with the folowing function: Download or upload a config file.
I get always a page "unauth.htm" (which dows not exist on my Thecus)
So maybe I am not loged in with the admin user during the module-page.
Has anybody a solution for this "bug"?
|
|
|
Post by wiseguy on Dec 24, 2009 8:07:16 GMT 7
I know now, that its because of a "$_SESSION['admin_auth']" is not set in N5500 - does anybody know the session var for a similar functionality?
|
|
|
Post by wiseguy on Dec 24, 2009 8:16:27 GMT 7
So now I have it:
If anybody has the same problem, do the following: Edit the File /raid0/data/module/RSNAPSHOT/www/avgetfile.html:
second line "if (! $_SESSION['admin_auth']) {" change to "if ($_SESSION['loginid'] != "admin") {"
That looks if the user is loged in or not
|
|
|
Post by wiseguy on Dec 24, 2009 19:14:48 GMT 7
For a better solution you have to look here
|
|