Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Tuesday at 01:29 PM
MadGorilla Posted April 3 Share Posted April 3 sorry if i asked in anyones post. I have tried and tried and Im obviously doing something wrong. I have latest version of invision on php8 server I create a constants.php file........then ad this <?php \define( 'CP_DIRECTORY', 'my new admin name' ); and change the name of my admin folder to the new admin name. I put the constants.php file in my forums directory. I have an ips focus theme/skin  and once I change the new admin name and add constants.php file with code in it. My site goes completely white blank> Any help appreciated, as i really want to hide my admin page from intruders Link to comment Share on other sites More sharing options...
ThunderBlue Posted April 3 Share Posted April 3 Hi. Did you previously have a constant.php file in your server? If the file was already there, you just need to add this code to the existing one. \define( 'CP_DIRECTORY', 'my new admin name' ); Â MadGorilla 1 Link to comment Share on other sites More sharing options...
MadGorilla Posted April 3 Author Share Posted April 3 Hello i dont have one there. I created one Link to comment Share on other sites More sharing options...
Solution Marc Stridgen Posted April 4 Solution Share Posted April 4 11 hours ago, MadGorilla said: Hello i dont have one there. I created one That would be the correct thing to do. So your file would be <?php \define( 'CP_DIRECTORY', 'nameOfAdminDirectory' );  MadGorilla and SeNioR- 2 Link to comment Share on other sites More sharing options...
MadGorilla Posted April 4 Author Share Posted April 4 2 hours ago, Marc Stridgen said: That would be the correct thing to do. So your file would be <?php \define( 'CP_DIRECTORY', 'nameOfAdminDirectory' );  Thanks that worked! I didnt have enough spaces between coding text thanks!! Link to comment Share on other sites More sharing options...
Marc Stridgen Posted April 4 Share Posted April 4 14 minutes ago, MadGorilla said: Thanks that worked! I didnt have enough spaces between coding text thanks!! Glad you have what you need there 🙂 MadGorilla 1 Link to comment Share on other sites More sharing options...
Recommended Posts