Jump to content

init.php


Scott
 Share

Recommended Posts

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

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...