Index
» Projekty
» phpWebFileManager
» Fórum
» User specific root and path |
|
pOe
Založený: 23.08.2004
Príspevky: 2
Zaslal: 2004-08-23 19:37
Návrat hore
Odpovedať s citátom
|
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
Kód: |
$fm_cfg['dir']['root'] = '';
$fm_cfg['dir']['start'] = ''; |
i changed them:
Kód: |
$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
Založený: 06.01.2003
Príspevky: 381
Bydlisko: Phoenix, Arizona (USA)
Zaslal: 2004-08-25 11:58
Návrat hore
Odpovedať s citátom
|
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
Založený: 23.08.2004
Príspevky: 2
Zaslal: 2004-08-25 19:45
Návrat hore
Odpovedať s citátom
|
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 :)
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|