-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to change the working directory #2
Comments
I didn't consider this use case. I'll look into making this possible. On Tue, Mar 11, 2014 at 12:33 PM, Daniel Correa notifications@github.comwrote:
|
I'm also interested in this issue. |
I'm interested as well, it would also be cool to view multiple working directories at once. |
nice job ! |
chdir() seems to do the trick: PHP File Manager in /www chdir('images'); or chdir('/www/images') is al it takes. |
Hello! News about this feature? |
you can change the root folder in the program itself. You have to change it in 2 parts . 1: upload part. foreach($disallowed_extensions as $ext) 2 : view part . |
I was able to use the It would be cool if the Simple File Manager code could take in a source path as a config parameter at the beginning of the code, and let us simply set it cleanly that way. :) Otherwise, very cool and useful script! |
Please support this feature +1 |
This is a bit tricky because it assumes the files are addressable by the web server. There isn't a easy option to add that will:
For instance, if people want to serve the files in /home/person/photos/ then the photos won't be served by the web server if I add that option. Creating a symlink on the server may solve many cases. |
how to do this? |
Look in the commits section. Someone has committed code for this setting, but it hasn't been merged yet. Just use the file from that section and it works. |
I had changed the "$tmp_dir", point it to new root, it work for me over a year. |
how to change the working directory
I have the following structure:
/
/ admin - here's the simple-file-manager
/ images - here are the files it should manage.
Where do I change the working path of the script?
The text was updated successfully, but these errors were encountered: