Code Duplication    Length = 6-6 lines in 2 locations

application/libraries/lib_init.php 1 location

@@ 47-52 (lines=6) @@
44
45
        try {
46
47
            if (ENVIRONMENT === 'development') {
48
                Debug::enable(E_ERROR | E_PARSE);
49
                ErrorHandler::register();
50
                ExceptionHandler::register();
51
                DebugClassLoader::enable();
52
            }
53
54
            $this->CI = get_instance();
55

application/modules/core/src/Kernel.php 1 location

@@ 126-131 (lines=6) @@
123
    }
124
125
    private function registerErrorHandler() {
126
        if (ENVIRONMENT === 'development') {
127
            Debug::enable(E_ERROR | E_PARSE);
128
            ErrorHandler::register();
129
            ExceptionHandler::register();
130
            DebugClassLoader::enable();
131
        }
132
    }
133
134
    private function assignTemplateData() {