I'd like to setup in the config the name of the folder holding the files and the name of the file holding the dsplus stuff and the locations of these.
I could easily put the ds_files stuff in a non-web accessible folder with a location and name of my choosing and a place for the dsplus stuff at a location and name of my choosing.
This would give us nicer URL to link to. Just a thought, good script though :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The contents of the dsplus directory can be moved to your webroot. They do not need to be in the dsplus directory. However you would have to move all of the contents.
And I bleive you might be able to change the ds_files directory to a different name, you just need to update the paths in the config file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'd like to be able to have custom names for the folders I put things at. It would be nicer to have a site setup as such:
http://www.example.com/m.php?p=filename.exe
than
http://www.example.com/dsplus/m.php?p=filename.exe
I'd like to setup in the config the name of the folder holding the files and the name of the file holding the dsplus stuff and the locations of these.
I could easily put the ds_files stuff in a non-web accessible folder with a location and name of my choosing and a place for the dsplus stuff at a location and name of my choosing.
This would give us nicer URL to link to. Just a thought, good script though :)
The contents of the dsplus directory can be moved to your webroot. They do not need to be in the dsplus directory. However you would have to move all of the contents.
And I bleive you might be able to change the ds_files directory to a different name, you just need to update the paths in the config file.
I was thinking the files were hardcoded to look for the DSPLUS folder and the ds_files folder above it?
At installation, yes. But you can change the location of the ds_files directory in the config file.
And it does not matter where m.php is located (although you will need to move the images and css file with it).