currentFolder (function)

Purpose:

Returns the folder your file is currently in

See Also:

currentPage (function)

Example:

echo currentFolder();

Data Type(s):


Location:

users/helpers/helpers.php

Details:

Very simple function to refer to the current folder of the file it is being called from. If you called this function from users/login.php it would return

"users"