]> git.mxchange.org Git - hub.git/blobdiff - application/hub/init.php
Moved some code to BaseListener and called it + updated 'core'.
[hub.git] / application / hub / init.php
index 72be973664679bbbad31d6b442d309b007d04097..1c750dc767578fcc8de7ab8ad209ff0151a469a1 100644 (file)
@@ -7,7 +7,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0
- * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2014 Hub Developer Team
+ * @copyright  Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  *
  * This program is free software: you can redistribute it and/or modify
@@ -28,7 +28,7 @@
 $cfg = FrameworkConfiguration::getSelfInstance();
 
 // Initialize output system
-require($cfg->getConfigEntry('base_path') . 'inc/output.php');
+ApplicationHelper::createDebugInstance('ApplicationHelper');
 
 // This application needs a database connection then we have to simply include
 // the inc/database.php script
@@ -37,5 +37,8 @@ require($cfg->getConfigEntry('base_path') . 'inc/database.php');
 // Get own internal address and set it in config
 $cfg->setConfigEntry('internal_address', HubTools::determineOwnInternalAddress());
 
+// By default scrypt is assumed absent and later tested being there
+$cfg->setConfigEntry('extension_scrypt_loaded', FALSE);
+
 // [EOF]
 ?>