Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Monday, October 26, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpWebFileManager  »  Forum  »  Starting directory setting

phpWebFileManager General     Starting directory setting
Post new topic   Reply to topic    
 
acuitas     Joined: 22 Mar 2004   Posts: 2  
Post Posted: 2004-03-22 14:49
Back to top  Reply with quote     

Hello

I have entered the path to my root in the apparent place it should go in the config_inc.php, but I failed to affect the starting directory. It still opens in the root. Here is what I have:

Code:

$fm_cfg['dir']['root']  = '/home/acuitas2/public_html/';
$fm_cfg['dir']['start'] = 'client001';


It doesn't work. What am I doing wrong?

Thank you.

 
nepto     Joined: 06 Jan 2003   Posts: 381   Location: Phoenix, Arizona (USA)
Post Posted: 2004-03-27 21:43
Back to top  Reply with quote     

Configuration variable $fm_cfg['dir']['root'] has to be relative to phpWebFileManager location.

See notes in configuration file for more information.

_________________
Ondrej Jombik (Nepto)
Visit my homepage , review my recent CV or projects and give me some feedback .
 
acuitas     Joined: 22 Mar 2004   Posts: 2  
Post Posted: 2004-03-28 18:46
Back to top  Reply with quote     

I think I figured this out.

It works if:

fm_cfg['dir']['root'] = the location of the repository's root directory, relative to the location of the script directory. For example, if the script is in:

/home/public_html/filemanager

and the ftp repository directory is:

/home/public_html/myftpdir

Then,

fm_cfg['dir']['root'] = '../myftpdir';

If I wanted to ftp files to this root directory, then

fm_cfg['dir']['start'] = '';

If I wanted to make the start directory something else, it's location must be relative to the root's location. Thus, if I wanted to put files in:

/home/public_html/myftpdir/startdir

Then

fm_cfg['dir']['start'] = '/startdir';


Is this correct?

Thanks!


nepto wrote:
Configuration variable $fm_cfg['dir']['root'] has to be relative to phpWebFileManager location.

See notes in configuration file for more information.


 
nepto     Joined: 06 Jan 2003   Posts: 381   Location: Phoenix, Arizona (USA)
Post Posted: 2004-03-29 11:54
Back to top  Reply with quote     

Yes, you are certainlly right, but write

fm_cfg['dir']['start'] = 'startdir/';

instead of

fm_cfg['dir']['start'] = '/startdir';

Let me know if this helps you...

_________________
Ondrej Jombik (Nepto)
Visit my homepage , review my recent CV or projects and give me some feedback .
 
Wayne     Joined: 18 Apr 2021   Posts: 2153  
Post Posted: 2024-03-27 13:25
Back to top  Reply with quote     

Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. forex robot

 
seodon     Joined: 23 Aug 2023   Posts: 815  
Post Posted: 2024-04-18 15:12
Back to top  Reply with quote     

i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me. 릴게임사이트

 
joy3333     Joined: 07 Sep 2023   Posts: 958  
Post Posted: 2024-05-01 21:16
Back to top  Reply with quote     

Watch high-quality Korean drama, Chinese drama, Japanese drama, Asian dramas, online on the free streaming website kissasian with English subtitles.Everyone may enjoy the drama! kisasian

 
joy3333     Joined: 07 Sep 2023   Posts: 958  
Post Posted: 2024-05-01 22:25
Back to top  Reply with quote     

Watch high-quality Korean drama, Chinese drama, Japanese drama, Asian dramas, online on the free streaming website kissasian with English subtitles.Everyone may enjoy the drama! kissasian

 
joycechu225     Joined: 17 Dec 2024   Posts: 2  
Post Posted: 2024-12-17 08:15
Back to top  Reply with quote     

Verify the path you supplied in config_inc.php one more time slope 2 . Make that the root directory is pointed to correctly.
To prevent misunderstanding, use absolute routes rather than relative paths.

 
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