+ Include clas spyc.

This commit is contained in:
chencongzhi520@gmail.com
2012-07-09 01:19:40 +00:00
parent 7e6c4d33fa
commit 2c133da7c0
+1
View File
@@ -3,6 +3,7 @@
if(count($argv) != 2) die("please set the yaml file.\n");
$filename = $argv[1];
if(!is_file($filename)) die("the yaml file doesn't exit\n");
include '../lib/spyc/spyc.class.php';
$extension = Spyc::YAMLLoadString(file_get_contents($filename));
/* Basic info checking. */