PageRenderTime 16ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/boot/config/Yaml.php

http://zoop.googlecode.com/
PHP | 10 lines | 10 code | 0 blank | 0 comment | 1 complexity | 0513cc6537e20d8319f2504beeb761a2 MD5 | raw file
 1<?php
 2class Yaml
 3{
 4	static function read($filename)
 5	{
 6		if(!file_exists($filename))
 7			trigger_error("YAML error: file '$filename' does not exist");
 8		return Spyc::YAMLLoad($filename);
 9	}
10}