php - File not found if specify "/" in beginning. -
i start working on existing code. code uses manual routing , running live can not change coniguration files.
problem when run code in local server, no files can include because of "/" in beggining.
example: <img src="/images/header.png">
i can not find header.png. if remove "/" <img src="images/header.png">
can get.
i can not change code because runs on live server. think need change apache configuration.
i using apache 2.0.
please guide me guys. :(
it happening because of folder structure. - /images/header.png
in @ root folder. , if /
removed try access on current folder.
Comments
Post a Comment