commit 31c0065c72bf69bd3e4b5d038ddce237c52052b4 Author: kolaente Date: Fri Dec 30 13:24:34 2016 +0100 Initial Commit diff --git a/downloadfonts.php b/downloadfonts.php new file mode 100755 index 0000000..81f87ce --- /dev/null +++ b/downloadfonts.php @@ -0,0 +1,45 @@ +' . $font_file_name . ' was downloaded successfully
' . "\n"; + $font_file = str_replace($font_url, 'fonts_downloaded/' . $font_file_name, $font_file); + } else + { + echo 'An error occured while downloading ' . $font_file_name . '
' . "\n"; + } + } + } + + //Write new Fontfile + if (file_put_contents($fontfile, $font_file)) + { + echo 'Fontfile was changed successfully' . "\n"; + } else + { + echo 'An error occured while changing Fontfile' . "\n"; + } +} +else +{ + echo 'Fontfile not found.'."\n"; +} \ No newline at end of file