Disabled Modules system by default.

It is not stable, it will not be stable in a long while. For now it is deprecated. A newer better system shall replace it in the future.
This commit is contained in:
Abel Hoogeveen 2016-07-23 16:53:47 +02:00
parent 23f56b524a
commit cf7ec423a2
4 changed files with 5 additions and 2 deletions

View File

@ -87,6 +87,7 @@ class Factory
// If there is no sharedFactoryInstance, prepare it
if (is_null(self::$sharedFactoryInstance))
{
// @codeCoverageIgnoreStart
self::$sharedFactoryInstance = $this;
$this->instances['Config'] = new Config();
$this->instances['Logger'] = new Logger();
@ -107,6 +108,7 @@ class Factory
return true;
}
// @codeCoverageIgnoreEnd
// Otherwise, copy the existing instances
$this->instances = self::getInstance()->getClassInstances();

View File

@ -39,6 +39,7 @@ namespace FuzeWorks;
*
* @author Abel Hoogeveen <abel@techfuze.net>
* @copyright Copyright (c) 2013 - 2016, Techfuze. (http://techfuze.net)
* @deprecated
*/
trait Module
{

View File

@ -40,6 +40,7 @@ use stdClass;
*
* @author Abel Hoogeveen <abel@techfuze.net>
* @copyright Copyright (c) 2013 - 2016, Techfuze. (http://techfuze.net)
* @deprecated
*/
class Modules
{

View File

@ -1,8 +1,7 @@
<?php
return array(
'enable_composer' => true,
'enable_modules' => true,
'enable_modules' => false,
'enable_events' => true,
'composer_autoloader' => '',
'registry_caching' => false,