@@ 185-199 (lines=15) @@ | ||
182 | return self::$autoload_dirs; |
|
183 | } |
|
184 | ||
185 | protected static function replaceLoader() |
|
186 | { |
|
187 | $my_loader_file = |
|
188 | APPPATH . 'core/' . config_item('subclass_prefix') . 'Loader.php'; |
|
189 | ||
190 | if (file_exists($my_loader_file)) |
|
191 | { |
|
192 | self::$loader_class = config_item('subclass_prefix') . 'Loader'; |
|
193 | if ( ! class_exists(self::$loader_class)) |
|
194 | { |
|
195 | require $my_loader_file; |
|
196 | } |
|
197 | } |
|
198 | self::loadLoader(); |
|
199 | } |
|
200 | protected static function replaceConfig() |
|
201 | { |
|
202 | $my_config_file = |
|
@@ 200-214 (lines=15) @@ | ||
197 | } |
|
198 | self::loadLoader(); |
|
199 | } |
|
200 | protected static function replaceConfig() |
|
201 | { |
|
202 | $my_config_file = |
|
203 | APPPATH . 'core/' . config_item('subclass_prefix') . 'Config.php'; |
|
204 | ||
205 | if (file_exists($my_config_file)) |
|
206 | { |
|
207 | self::$config_class = config_item('subclass_prefix') . 'Config'; |
|
208 | if ( ! class_exists(self::$config_class)) |
|
209 | { |
|
210 | require $my_config_file; |
|
211 | } |
|
212 | } |
|
213 | self::loadConfig(); |
|
214 | } |
|
215 | ||
216 | protected static function replaceHelpers() |
|
217 | { |