Jump to content

init.php


Scott

Recommended Posts

Posted

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

Posted

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', '/');

 

Posted

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.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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