Answer the question
In order to leave comments, you need to log in
Is using dot as the current folder in paths undesirable?
Routing was refactored in the application, after which a single entry point index.php appeared. The captcha fell off, the code was not drawn. The package was based on GD and did not handle loading the imageloadfont font, the passed path looked like './SomeFont.ttf'. The output of realpath('.') showed an interesting fact: with a single entry point, the dot points to the path to index.php. Does this mean that dots should not be used when defining paths? Is there any Apache directive that allows you to resolve such situations?
Answer the question
In order to leave comments, you need to log in
Does this mean that dots should not be used when defining paths?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question