|
@@ -78,8 +78,8 @@ function saveHTML ($title, $folder,$html) {
|
|
|
$date = new DateTime();
|
|
|
$cleanTitle = cleanTitle($title);
|
|
|
$datePart = $date->format("Y-m-j");
|
|
|
- $filePath = "$datePart-$cleanTitle-$folder.html";
|
|
|
- file_put_contents(__DIR__.'/../forms/'.$filePath, $html);
|
|
|
+ $filePath = "$dateart-$cleanTitle-$folder.html";
|
|
|
+ file_put_contents('../forms/'.$filePath, $html);
|
|
|
return $filePath;
|
|
|
}
|
|
|
|