Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Scott Posted June 22, 2015 Posted June 22, 2015 I'm about to do a fresh install and looking at ways to secure the ACP, after reading forum posts and tutorials I'm finding that in version 4.X the initdata.php has been re-imagined and I assume replaced with init.php? On line 52 of init.php, is this where I need to edit to change my ACP directory name?Thanks
AutoItScript Posted June 22, 2015 Posted June 22, 2015 Don't edit init.php. Create a constants.php file with the settings you want:eg.<?php define( 'IPS_FILE_PERMISSION', 0666 ); define( 'IPS_FOLDER_PERMISSION', 0777 ); define( 'COOKIE_DOMAIN', ''); define( 'COOKIE_PATH', '/');
Scott Posted June 22, 2015 Author Posted June 22, 2015 Don't edit init.php. Create a constants.php file with the settings you want:eg.<?php define( 'IPS_FILE_PERMISSION', 0666 ); define( 'IPS_FOLDER_PERMISSION', 0777 ); define( 'COOKIE_DOMAIN', ''); define( 'COOKIE_PATH', '/'); Excellent.Thanks for the quick reply and support.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.