0

Reading through some code I recently was signed on to (I'm an intern).
I'm supposed to change out some logos and links.
Problem is that none of the images show because they all have ./images instead of ../images.
What is ./ used for? I really don't feel like changing everything to ../ .
The files are set up like this Main.php, two folders one is images other is includes.
Includes contains other php files that contain links to the images using the ./ but don't work.
How would I fix this problem?

3

1 Answer 1

4

They're called relative directory paths.

./ represents the same directory as the HTML file. ../ represents one directory up the tree.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.