title: Check if on root domain and execute, else don't?
body: <p>I was looking to create a php function that checks if the current page is in the root folder and if it is, it then executes or returns something, else it does nothing. How could this be achieved?</p>
  
  <p>Thanks!</p>