Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 533 Bytes

File metadata and controls

33 lines (21 loc) · 533 Bytes

File

getRelPath

Returns the relative path of a file or folder.

getServerPath

Returns an absolute server path of a file or folder.

getWebPath

Returns an absolute web path of a file or folder.

createDenyHtaccess

Creates in the given folder a .htaccess file to avoid unwanted access. Existing .htaccess files are not touched. The default content is

order deny,allow
deny from all
allow from 127.0.0.1

Classes:

  • tx_mklib_util_File