The What
Description
This magic constant is the directory of the current file. If used inside an include, the directory of the included file is returned. This is equivalent to dirname(__FILE__)
. This directory name does not have a trailing slash unless it is the root directory.
Whoever says that coding is hard, just smack them.
More coming soon…keep checking back.