Move Contact List Files to Another Directory


  -----  
Author Message

Thoul
Administrator

Wed Mar 29, 2006 2:11 am   Post subject: Move Contact List Files to Another Directory
When installed according to installation instructions, Contact List's main files are placed into a new mods/contact directory. Some users prefer to move the files to another directory more * with their current site structure. This is a guide on the recommended way to accomplish this move.

To make this easier, Contact List uses a constant to define the paths to the directory mentioned above. When you move the contents of the mods/contact directory to another location, updating these constants will allow Contact List to continue working without editing a lot of files. This constant can be found in the constants_contact.php file. An example of how to edit it for moving files to the includes/ directory is provided below.


Code:

#
#-----[ OPEN ]------------------------------------------
#
includes/constants_contact.php

#
#-----[ FIND ]------------------------------------------
#
define('CONTACT_PATH', $phpbb_root_path . 'mods/contact/');

#
#-----[ IN-LINE FIND ]------------------------------------------
#
mods/contact/

#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
includes/

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# End
 

Page 1 of 1
Display posts from previous: