diff options
author | François Kooman <fkooman@tuxed.net> | 2017-01-05 16:37:15 +0100 |
---|---|---|
committer | François Kooman <fkooman@tuxed.net> | 2017-01-05 16:37:15 +0100 |
commit | e61e07b775d652328f62938d6ced4ef71eac8e86 (patch) | |
tree | 1038bb3039a5f3fb3831759e8b362617a7e8469a /generate.php | |
parent | bdac5350008fb69f65bf0af62c32277b1e284b41 (diff) | |
download | www.tuxed.net-e61e07b775d652328f62938d6ced4ef71eac8e86.zip www.tuxed.net-e61e07b775d652328f62938d6ced4ef71eac8e86.tar.gz www.tuxed.net-e61e07b775d652328f62938d6ced4ef71eac8e86.tar.xz |
delete images, no longer copy them
Diffstat (limited to 'generate.php')
-rw-r--r-- | generate.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generate.php b/generate.php index 432754f..2034a26 100644 --- a/generate.php +++ b/generate.php @@ -109,10 +109,10 @@ file_put_contents($outputDir.'/index.html', $indexPage); file_put_contents($outputDir.'/contact.html', $contactPage); // copy img -@mkdir($outputDir.'/img'); -foreach (glob(__DIR__.'/img/*') as $imgFile) { - copy($imgFile, $outputDir.'/img/'.basename($imgFile)); -} +//@mkdir($outputDir.'/img'); +//foreach (glob(__DIR__.'/img/*') as $imgFile) { +// copy($imgFile, $outputDir.'/img/'.basename($imgFile)); +//} // copy css @mkdir($outputDir.'/css'); |