#264 | $s = file_get_contents($readfile); |
#265 | $s = self::parse_extends($s); |
#266 | $s = preg_replace_callback('#\t*\/\/\s*hook\s+([\w\.]+)[\r\n]#', array('core', 'parse_hook'), $s); // 处理 hook |
#267 | if(!FW($writefile, $s)) { |
#268 | throw new Exception($errorstr); |
#269 | } |
#270 | } |
#271 | |
#272 | /** |
#273 | * 递归解析继承的控制器类 (不好理解?递归在 parse_all) |