Scott Posted June 22, 2015 Share 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 Link to comment Share on other sites More sharing options...
AutoItScript Posted June 22, 2015 Share 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', '/'); Link to comment Share on other sites More sharing options...
Scott Posted June 22, 2015 Author Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.