javascript - Roxy Fileman remove part of URL in returnurl -




i'm attempting roxy fileman work in environment, running little hitch. can see directories images (done via symlink) when returning roxy ui via "select" button i'm getting url this:

https://images.example.com/path/to/uploads/symlink/123/logo.png

and want is:

https://images.example.com/symlink/123/logo.png

i've put in return_url_prefix, i'm still getting extended path whether use session_path_key or regular root (and browse correct directory via symlink).

my code session_path_key looks like:

<?php $_session['dynamic-user-folder'] = "/path/to/uploads/symlink/"; ?> 

and config.json:

"files_root":          "", "return_url_prefix":   "https://images.example.com/", "session_path_key":    "dynamic-user-folder", 

ok, found answer. in plugin php folder there file called filelist.php. in here added

$fullpath = str_replace('/path/to/uploads/', '', $fullpath); 

and returns path variable p of stuff don't want removed ui, when select uses correct url return_url_prefix in front , symlink , file name.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -