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:
parent
23f56b524a
commit
cf7ec423a2
|
@ -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();
|
||||
|
|
|
@ -39,6 +39,7 @@ namespace FuzeWorks;
|
|||
*
|
||||
* @author Abel Hoogeveen <abel@techfuze.net>
|
||||
* @copyright Copyright (c) 2013 - 2016, Techfuze. (http://techfuze.net)
|
||||
* @deprecated
|
||||
*/
|
||||
trait Module
|
||||
{
|
||||
|
|
|
@ -40,6 +40,7 @@ use stdClass;
|
|||
*
|
||||
* @author Abel Hoogeveen <abel@techfuze.net>
|
||||
* @copyright Copyright (c) 2013 - 2016, Techfuze. (http://techfuze.net)
|
||||
* @deprecated
|
||||
*/
|
||||
class Modules
|
||||
{
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
<?php
|
||||
|
||||
return array(
|
||||
'enable_composer' => true,
|
||||
'enable_modules' => true,
|
||||
'enable_modules' => false,
|
||||
'enable_events' => true,
|
||||
'composer_autoloader' => '',
|
||||
'registry_caching' => false,
|
||||
|
|
Loading…
Reference in New Issue