[wp-hackers] Any drawbacks in setting WP_CONTENT_DIR (and URL) to DOCUMENT_ROOT?

Rodolfo Buaiz brasofilo at gmail.com
Fri Jul 13 20:03:02 UTC 2012

Oh, I'll follow the boss suggestion and hardcode it: /www/username/public_html

After all, why put some not so certain server constant when we can
hardcode the real path?

On 7/13/12, Micky Hulse <mickyhulse.lists at gmail.com> wrote:
> Hi Rodolfo,
> On Fri, Jul 13, 2012 at 11:48 AM, Rodolfo Buaiz <brasofilo at gmail.com>
> wrote:
>> Now confident on going on with the envisioned setup.
> Just out of curiosity, what's the final code going to look like (i.e
> are you going to use/not use $_SERVER['DOCUMENT_ROOT'])?
> Thanks!
> Micky
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers

Rodolfo Buaiz
Productor Multimedia
Península Ibérica
+34 68.760.1407
skype: brasofilo

More information about the wp-hackers mailing list