Site Admin -> Global Settings -> Sitedown Settings
in order to lock down access to a site I'm developing however I have a bit of an issue that my IP keeps on changing so I've ended up dumping in a quick little hack to show my current IP address on this page
Into /admin/siteprefs.php I've dumped in
Code: Select all
$smarty->assign('whatismyip',getenv("REMOTE_ADDR"));Code: Select all
     <br/>
     Your IP address is: {$whatismyip}
     <br />
     <br />edit: corrected typo

