Changeset 2684

Show
Ignore:
Timestamp:
05/21/08 13:48:11 (2 months ago)
Author:
Shadowhand
Message:

Follow up to r2683, moved include_path reloading to load() and set static on clear()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/system/core/Config.php

    r2683 r2684  
    3333                        // Load core configuration 
    3434                        self::$conf['core'] = self::load('core'); 
    35  
    36                         // Re-parse the include paths 
    37                         self::include_paths(TRUE); 
    3835                } 
    3936 
     
    127124         * @return  TRUE 
    128125         */ 
    129         public function clear($key) 
     126        public static function clear($key) 
    130127        { 
    131128                unset(self::$conf[$key]); 
     
    183180                        } 
    184181 
     182                        // Re-parse the include paths 
     183                        self::include_paths(TRUE); 
     184 
    185185                        return $config; 
    186186                }