From 53882d1e01dd9255029bb7a7865e162965aeaf7f Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 7 Aug 2015 01:47:27 +0100 Subject: [PATCH] Added redirects.php --- scripts/redirects.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 scripts/redirects.php diff --git a/scripts/redirects.php b/scripts/redirects.php new file mode 100644 index 00000000..735350bd --- /dev/null +++ b/scripts/redirects.php @@ -0,0 +1,32 @@ +#!/usr/bin/env php + + $destination, + ]; + + $output = strtr($template, $templateData); + file_put_contents("source/{$data[0]}.html", $output); + + $row++; + } +} + +fclose($handle);