} if (!defined('JPATH_SITE')) { define('JPATH_SITE', JPATH_ROOT); } if (!defined('JPATH_ADMINISTRATOR')) { define('JPATH_ADMINISTRATOR', JPATH_ROOT . '/administrator'); } if (!defined('JPATH_INSTALLATION')) { define('JPATH_INSTALLATION', JPATH_ROOT . '/installation'); } if (!defined('JPATH_MANIFESTS')) { define('JPATH_MANIFESTS', JPATH_ADMINISTRATOR . '/manifests'); } if (!defined('JPATH_PLUGINS')) { define('JPATH_PLUGINS', JPATH_BASE . '/plugins'); } if (!defined('JPATH_THEMES')) { define('JPATH_THEMES', JPATH_BASE . '/templates'); } if (!defined('JDEBUG')) { define('JDEBUG', false); } // Import the platform in legacy mode. require_once JPATH_PLATFORM . '/import.legacy.php'; // Bootstrap the CMS libraries. require_once JPATH_LIBRARIES . '/cms.php'; // Register the core Joomla test classes. JLoader::registerPrefix('Test', __DIR__ . '/core'); // Register the deprecation handler TestHelper::registerDeprecationHandler();