Codeigniter: Use of load_class
问题 I am writing my own logging class to save data in a DB. As I looked how CI is doing I noticed there is a log_message() function which handles the logging. There is a load_class function I can't assign to anything in the CI user guide. 1 Why do they put this into an extra function? 2 What/where loads this function files from? Hope there are some CI guys how can answer :-) 回答1: Short answer: You can write your own log class to override the default CI class: <?php // this file is /application