예제 #1
0
 /** Returns the static config's instance.
 	   Of course, it will create one when called for the first time.
 	*/
 public static function &instance()
 {
     if (!self::$the_instance) {
         self::$the_instance = new self();
         self::$the_instance->load_config();
     }
     return self::$the_instance;
 }