Jump to content

set root folder??


dajohnson1s

Recommended Posts

Hello,

 

I am wanting to setup a configuration file for my application that points to where images are located.  What I am trying to do is have the images go to the 'root' of the folder to access these images to load in sub folders.  I would imagine this has been done, or this is a function to do such a thing...

 

Here is my structure:

root

|-img

|-admin

|  |-folder

|  |  |-application.php

|  |  |

 

Basically I would like one place to update if the image folder is moved.  Any help would be greatly appreciated.

 

Link to comment
https://forums.phpfreaks.com/topic/205270-set-root-folder/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.