0
votes
1answer
58 views

DOCUMENT_ROOT from custom script inside theme [closed]

I am having problems getting document from a custom script inside the theme. It simple not including the domain part. Here is the current way I am using: $root = realpath($_SERVER["DOCUMENT_ROOT"]); ...