@@ 1053-1060 (lines=8) @@ | ||
1050 | // Before we deem this to be a duplicate request, let's see |
|
1051 | // if a custom object name is being supplied. If so, we'll |
|
1052 | // return a new instance of the object |
|
1053 | if ($object_name !== NULL) |
|
1054 | { |
|
1055 | $CI =& get_instance(); |
|
1056 | if ( ! isset($CI->$object_name)) |
|
1057 | { |
|
1058 | return $this->_ci_init_library($class, '', $params, $object_name); |
|
1059 | } |
|
1060 | } |
|
1061 | ||
1062 | log_message('debug', $class.' class already loaded. Second attempt ignored.'); |
|
1063 | return; |
|
@@ 1114-1121 (lines=8) @@ | ||
1111 | // Before we deem this to be a duplicate request, let's see |
|
1112 | // if a custom object name is being supplied. If so, we'll |
|
1113 | // return a new instance of the object |
|
1114 | if ($object_name !== NULL) |
|
1115 | { |
|
1116 | $CI =& get_instance(); |
|
1117 | if ( ! isset($CI->$object_name)) |
|
1118 | { |
|
1119 | return $this->_ci_init_library($library_name, $prefix, $params, $object_name); |
|
1120 | } |
|
1121 | } |
|
1122 | ||
1123 | log_message('debug', $library_name.' class already loaded. Second attempt ignored.'); |
|
1124 | return; |