Exemplo n.º 1
0
 public static function load($path)
 {
     if (file_exists($path)) {
         // Successful includes, unless overridden by the included file, return 1.
         $data = (require $path);
         if (is_array($data)) {
             self::$config = array_merge(self::$config, $data);
         }
     }
 }