You are here

function filebrowser_proper_path in Filebrowser 5

Allows easy path generation even if $path has a leading slash.

2 calls to filebrowser_proper_path()
filebrowser_get_list in ./filebrowser.module
Returns a list of files in a subfolder under the admin specified filebrowser root. File system details (size, last modification) is added, plus a metafile is parsed to gather more information, if available.
filebrowser_page in ./filebrowser.module
Prints a folder layout

File

./filebrowser.module, line 367

Code

function filebrowser_proper_path($path) {
  return str_replace("//", "/", "filebrowser/{$path}");
}