|
@@ -149,7 +149,7 @@ function replaceMacro(string $filePath,string $targetPath,array $macros){
|
|
foreach($macros as $key=>$value){
|
|
foreach($macros as $key=>$value){
|
|
$content = str_replace($content,$key,$value);
|
|
$content = str_replace($content,$key,$value);
|
|
}
|
|
}
|
|
- file_put_contents($targetPath,$content);
|
|
|
|
|
|
+ return file_put_contents($targetPath,$content);
|
|
}
|
|
}
|
|
|
|
|
|
//枚举子目录
|
|
//枚举子目录
|