1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-15 12:33:59 +02:00

Created Configuration (markdown)

Marco Dickert
2017-07-13 10:37:07 +02:00
parent 5682aff6a9
commit 709f29b972

73
Configuration.md Normal file

@@ -0,0 +1,73 @@
The script contains an array of configuration options which can be easily changed.
### `auth`, `auth_source`
see authentication
### `root_dir`
Sets a custom root directory. By default the IFM is locked to its own directory, so you can't go above. Notice that the PHP user has to have sufficient permissions for the `root_dir`, otherwise IFM will not work. Regardless of whether the `root_dir` is set or not, the IFM will **not follow symlinks**, as long as the destination lies outside the `root_dir`. This is by design and cannot be changed.
### `tmp_dir`
Sets a custom temporary directory. This is used to save temporary zip files when you download an entire directory. Make sure the PHP user has write permissions there.
### `ajaxrequest`
Controls if the user is allowed to perform an ajax request. This was primarily used to debug the IFM in the development process and I didn't remove it since it's quite useful in some cases.
### `chmod`
Controls if the user is allowed to change permissions of files and directories.
### `copymove`
Controls if the user is allowed to copy or move files and directories.
### `createdir`
Controls if the user is allowed to create directories
### `createfile`
Controls if the user is allowed to create files.
### `edit`
Controls if the user is allowed to edit files. I'm not sure if it makes any sense that creating files and editing files are two separate permissions, but I never changed that.
### `delete`
Controls if the user is allowed to delete files and directories
### `download`
Controls if the user is allowed to download files.
### `extract`
Controls if the user is allowed to extract zip files.
### `upload`
Controls if the user is allowed to upload files.
### `remoteupload`
Controls if the user is allowed to upload files remotely via an URL.
### `rename`
Controls if the user is allowed to rename files and directories.
### `zipnload`
Controls if the user is allowed to download directories as zip files.
### `showlastmodified`
Show the last modified column
### `showfilesize`
Show the filesize.
### `showowner`
Show the owner (*nix only).
### `showgroup`
Show the group (*nix only).
### `showpermissions`
Show the permissions.
### `showhtdocs`
Show files starting with `.ht`. Notice: If you disable this, the user is also not allowed to edit or create such files.
### `showhiddenfiles`
Show hidden files. Notice: If you disable this, the user is also not allowed to edit or create such files.
### `showpath`
Shows the absolute path to the `root_dir`.