LeonLatex Posted July 10, 2022 Share Posted July 10, 2022 Look at both side of ROOT. Wich is the right one? #1: require_once(__ROOT__.'/includes/db_inc.php'); #2: require_once(_ROOT_.'/includes/db_inc.php'); Quote Link to comment https://forums.phpfreaks.com/topic/315024-wich-root-is-the-right-one/ Share on other sites More sharing options...
Barand Posted July 10, 2022 Share Posted July 10, 2022 Echo them and see which looks right. echo _ROOT_ . '<br>'; echo __ROOT__ . '<br>'; Quote Link to comment https://forums.phpfreaks.com/topic/315024-wich-root-is-the-right-one/#findComment-1598124 Share on other sites More sharing options...
ginerjm Posted July 10, 2022 Share Posted July 10, 2022 I think the real question you should be worried about is which (note how I spelled that) one works. I'm sure you already know that so my work here is done. Quote Link to comment https://forums.phpfreaks.com/topic/315024-wich-root-is-the-right-one/#findComment-1598125 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.