alias $_SERVER['DOCUMENT_ROOT']
Posted by: anarchitecton (89.152.241.---)
Date: February 27, 2008 12:38AM

Hi.

I created the following alias: [localhost].

It targets a specific folder, let's say, C:/dev/sites/

When I echo $_SERVER['DOCUMENT_ROOT'] it prints the default wamp localhost folder, C:/wamp/www/ instead.

How do I make $_SERVER['DOCUMENT_ROOT'] target my alias folder instead, C:/dev/sites/?

Thanks in advance,
Tiago

Options: ReplyQuote


Sorry, only registered users may post in this forum.