Update redirects.php

This commit is contained in:
Oliver Davies 2015-08-09 20:47:06 +01:00
parent d1258b6915
commit a3e6eef08b

View file

@ -23,8 +23,9 @@ if (($handle = fopen($csv, 'r')) !== FALSE) {
];
$output = strtr($template, $templateData);
file_put_contents("source/{$data[0]}.html", $output);
$filename = str_replace('/', '-', $data[0]);
file_put_contents("source/{$data[0]}.html", $output);
echo "Written to {$data[0]}.html\n";
}
}