if (!defined("TABLEPREFIX")) define("TABLEPREFIX", MPREFIX);
_TABLEPREFIX is LAN string, it is something else
_CHARSET
defined in header.php
eFiction way:
define ("_CHARSET", "utf-8");
temp solution (in header.php)
define("_CHARSET", CHARSET);
This constant is needed because this test:
if(!defined("_CHARSET")) exit( );
After replacing it with code bellow, it can be removed
if(!defined("e107_INIT")) exit( );
_BASEDIR
Needed and used. Path to efiction plugin. Defined in e_module.php
SITEKEY
Needed for sessions. If not set in e107_config.php file, it is set as e107 hash folder value (unique for each site and database, but it can be set manually)