| Index
» Projects
» phpWebFileManager
» Forum
» User specific root and path |
 |
pOe
Joined: 23 Aug 2004
Posts: 2
Posted: 2004-08-23 19:37
Back to top
Reply with quote
|
Hi,
i am trying to set a login script before phpWebFileManager comes to work. with that login script i get the path of the user where he/she can view/change/delete etc....
in config.inc.php are these lines
| Code: |
$fm_cfg['dir']['root'] = '';
$fm_cfg['dir']['start'] = ''; |
i changed them:
| Code: |
$fm_cfg['dir']['root'] = $_SESSION['userPath'];
$fm_cfg['dir']['start'] = ''; |
-->after the login, the manager starts in the right folder... but when i try o browse through the directories, the script jumps to the path, where the manager is at....
can anyone give me a hint?
|
nepto
Joined: 06 Jan 2003
Posts: 381
Location: Phoenix, Arizona (USA)
Posted: 2004-08-25 11:58
Back to top
Reply with quote
|
It seems that
$_SESSION['userPath']
lost its content. I'm not sure why...
_________________ Ondrej Jombik (Nepto)
Visit my
homepage
, review my recent
CV
or
projects
and give me some
feedback
.
|
pOe
Joined: 23 Aug 2004
Posts: 2
Posted: 2004-08-25 19:45
Back to top
Reply with quote
|
i found out, that the sessionVar was set at the index.php. after reloading that page the sessionVar is available...
im not sure why but i kinda cheatet the problem away.
thanks for answering :)
|
|
Post new topic
Reply to topic
|
|
|
|