Move Prillian files to Another Directory
-----
| Author | Message | |
|---|---|---|
|
Thoul |
||
| Wed Mar 29, 2006 2:17 am Post subject: Move Prillian files to Another Directory | ||
|
When installed according to installation instructions, Prillian's main files are placed into a new mods/prillian directory and it's Contact List files are placed in 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, Prillian uses constants to define the paths to the directories mentioned above. When you move the contents of the mods/prillian and mods/contact directories to another location, updating these constants will allow Prillian to continue working without editing a lot of files. These constants can be found in the constants_prillian.php and constants_contact.php files. An example of how to edit these constants for moving files to the includes/ directory is provided below. Code: #
#-----[ OPEN ]------------------------------------------ # includes/constants_prillian.php # #-----[ FIND ]------------------------------------------ # define('PRILL_PATH', $phpbb_root_path . 'mods/prillian/'); # #-----[ IN-LINE FIND ]------------------------------------------ # mods/prillian/ # #-----[ IN-LINE REPLACE WITH ]------------------------------------------ # includes/ # #-----[ 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