Update redirects.php
This commit is contained in:
parent
d1258b6915
commit
a3e6eef08b
|
@ -23,8 +23,9 @@ if (($handle = fopen($csv, 'r')) !== FALSE) {
|
||||||
];
|
];
|
||||||
|
|
||||||
$output = strtr($template, $templateData);
|
$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";
|
echo "Written to {$data[0]}.html\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue