require_once(ROOT_PDIR . 'core/libs/core/templates/TemplateInterface.php'); require_once(ROOT_PDIR . 'core/libs/core/templates/Exception.php'); require_once(ROOT_PDIR . 'core/libs/core/templates/backends/PHTML.php'); require_once(ROOT_PDIR . 'install/classes/InstallerStep.php'); require_once(ROOT_PDIR . 'core/functions/Core.functions.php'); require_once(ROOT_PDIR . 'core/libs/core/utilities/logger/functions.php'); require_once(ROOT_PDIR . 'install/utilities.php'); require_once(ROOT_PDIR . "core/libs/core/ConfigHandler.class.php"); // If the configuration file has been written already, load up those config options! if(file_exists(ROOT_PDIR . 'config/configuration.xml')){ require_once(ROOT_PDIR . 'core/libs/core/datamodel/DMI.class.php'); require_once(ROOT_PDIR . "core/libs/core/HookHandler.class.php"); try { HookHandler::singleton(); ConfigHandler::LoadConfigFile('configuration'); } catch (Exception $e) { // Yeah... I probably don't care at this stage... but maybe I do... \Core\ErrorManagement\exception_handler($e); } } if(!defined('CDN_TYPE')){ define('CDN_TYPE', 'local'); } if(!defined('CDN_LOCAL_ASSETDIR')){ define('CDN_LOCAL_ASSETDIR', 'files/assets/'); } if(!defined('CDN_LOCAL_PUBLICDIR')){