8.4.2: What's equivalent to BASE_URL?

Permalink
Is there anything equivalent to the 'BASE_URL' variable in v8?

How do I get a server root URL without the index.php?

Thank you.

linuxoid
 
drbiskit replied on at Permalink Reply
drbiskit
Is this what you're after?
<?php echo DIR_REL ?>
linuxoid replied on at Permalink Reply
linuxoid
No, that's still a variable. Is there another method or using the legacy variable is still ok?