Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 20. apríl 2024
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpWebFileManager  »  Fórum  »  Starting directory setting

phpWebFileManager General     Starting directory setting
Odoslať novú tému   Odpovedať na tému    
 
acuitas     Založený: 22.03.2004   Príspevky: 2  
Príspevok Zaslal: 2004-03-22 14:49
Návrat hore  Odpovedať s citátom     

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:

Kód:

$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     Založený: 06.01.2003   Príspevky: 381   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2004-03-27 21:43
Návrat hore  Odpovedať s citátom     

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     Založený: 22.03.2004   Príspevky: 2  
Príspevok Zaslal: 2004-03-28 18:46
Návrat hore  Odpovedať s citátom     

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 Napísal:
Configuration variable $fm_cfg['dir']['root'] has to be relative to phpWebFileManager location.

See notes in configuration file for more information.


 
nepto     Založený: 06.01.2003   Príspevky: 381   Bydlisko: Phoenix, Arizona (USA)
Príspevok Zaslal: 2004-03-29 11:54
Návrat hore  Odpovedať s citátom     

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     Založený: 18.04.2021   Príspevky: 921  
Príspevok Zaslal: 2024-03-27 13:25
Návrat hore  Odpovedať s citátom     

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     Založený: 23.08.2023   Príspevky: 490  
Príspevok Zaslal: 2024-04-18 15:12
Návrat hore  Odpovedať s citátom     

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. 릴게임사이트

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov