is this pointing to the directory where the current file is executed?
No, it points to the root of your webserver - the topmost folder of your website.
If you want the directory of the current file, use:
dirname(__FILE__);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With