php - LAMP: Set Document Root for Specific Directory -


So I have to upload the CMS so that I'm making my company's server development area to show. But the software I created was created in the document root, and the company wants to upload me to a folder on the server to set the document route dynamically with PHP, or .htaccess in a single folder on a server Or is there any way to include something like that?

I think that I can also create some global hostilities

DOCUMENT_ROOT = dirname (Dynamite (__ file__)));

And the context that is in the beginning of my path, but I am looking for a more elegant solution.

You need to define your base based on which is available in your application. If the client is antis to look at their work, then ask them to register a subdomain to put it down.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -