Preparing for the next e107

CaMer0n by CaMer0n in e107

As part of the upgrade process for the next version of e107, you will be required to move all your directory definitions out of your class2.php file and put them into your e107_config.php file.

As part of the upgrade process for the next version of e107, you will be required to move all your directory definitions out of your class2.php file and put them into your e107_config.php file. This can be done at any time to avoid any sort of confusion when you upgrade. The lines that need moved are:

$ADMIN_DIRECTORY = "e107_admin/";
$FILES_DIRECTORY = "e107_files/";
$IMAGES_DIRECTORY = "e107_images/";
$THEMES_DIRECTORY = "e107_themes/";
$PLUGINS_DIRECTORY = "e107_plugins/";
$HANDLERS_DIRECTORY = "e107_handlers/";
$LANGUAGES_DIRECTORY = "e107_languages/";
$HELP_DIRECTORY = "e107_docs/help/";
$DOWNLOADS_DIRECTORY = "e107_files/downloads/";

Just delete these lines from class2.php and add to e107_config.php and you'll be good to go.


Social Links