util_current_directory

EveAndersson.com : API Browser : util_current_directory

util_current_directory

util_current_directory
Defined in packages/acs-core/utilities-procs.tcl

Returns the directory of the current URL.

We can't just use [file dirname [ns_conn url]] because we want /foo/bar/ to return /foo/bar/ and not /foo .

Also, we want to return directory WITH the trailing slash so that programs that use this proc don't have to treat the root directory as a special case.

[ show source ]

Show another procedure:

eve@eveandersson.com