3 if (!defined('_ECRIRE_INC_VERSION')) {
8 function yaml_decode($input) {
9 require_once dirname(__FILE__
) . '/../lib/yaml/sfYaml.php';
10 require_once dirname(__FILE__
) . '/../lib/yaml/sfYamlParser.php';
12 $yaml = new sfYamlParser();
15 return $yaml->parse($input);
17 } catch (Exception
$e) {