Code Duplication    Length = 4-9 lines in 2 locations

web_interface/astpp/application/third_party/MX/Loader.php 1 location

@@ 217-220 (lines=4) @@
214
			
215
			class_exists('CI_Model', FALSE) OR load_class('Model', 'core');
216
			
217
			if ($connect !== FALSE AND ! class_exists('CI_DB', FALSE)) {
218
				if ($connect === TRUE) {
219
					$connect = '';
220
				}
221
				$this->database($connect, FALSE, TRUE);
222
			}
223
			

web_interface/astpp/system/core/Loader.php 1 location

@@ 286-294 (lines=9) @@
283
				continue;
284
			}
285
286
			if ($db_conn !== FALSE AND ! class_exists('CI_DB'))
287
			{
288
				if ($db_conn === TRUE)
289
				{
290
					$db_conn = '';
291
				}
292
293
				$CI->load->database($db_conn, FALSE, TRUE);
294
			}
295
296
			if ( ! class_exists('CI_Model'))
297
			{