Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 25, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpWebFileManager  »  Forum  »  User specific root and path

phpWebFileManager General     User specific root and path
Post new topic   Reply to topic    
 
pOe     Joined: 23 Aug 2004   Posts: 2  
Post 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)
Post 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  
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy