"."\n"; } } public static function get($data){ if(!is_array(self::$config)){ self::$config = Spyc::YAMLLoad(SPRITE_CONFIG_FILE); } return @(self::$config[$data]); } public static function set($name, $value){ if(!is_array(self::$config)){ self::$config = Spyc::YAMLLoad(SPRITE_CONFIG_FILE); } self::$config[$name] = $value; } public static function getHash(){ return md5(serialize(self::$config)); } } ?>