Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 25. január 2025
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: 1882  
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: 810  
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. 릴게임사이트

 
joy3333     Založený: 07.09.2023   Príspevky: 940  
Príspevok Zaslal: 2024-05-01 21:16
Návrat hore  Odpovedať s citátom     

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     Založený: 07.09.2023   Príspevky: 940  
Príspevok Zaslal: 2024-05-01 22:25
Návrat hore  Odpovedať s citátom     

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     Založený: 17.12.2024   Príspevky: 2  
Príspevok Zaslal: 2024-12-17 08:15
Návrat hore  Odpovedať s citátom     

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.

 
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