diff --git a/build.php b/build.php index 5e8715a..3a21cb8 100644 --- a/build.php +++ b/build.php @@ -13,5 +13,5 @@ foreach ($codes as $code) { $rendered = $twig->render('codes/' . $code . '.twig', ['code' => $code]); - file_put_contents(__DIR__ . '/dist/' . $code . '.html', $rendered); + file_put_contents(__DIR__ . '/dist/errors/' . $code . '.html', $rendered); } \ No newline at end of file diff --git a/dist/419.html b/dist/errors/419.html similarity index 100% rename from dist/419.html rename to dist/errors/419.html diff --git a/dist/500.html b/dist/errors/500.html similarity index 100% rename from dist/500.html rename to dist/errors/500.html diff --git a/dist/501.html b/dist/errors/501.html similarity index 100% rename from dist/501.html rename to dist/errors/501.html diff --git a/dist/502.html b/dist/errors/502.html similarity index 100% rename from dist/502.html rename to dist/errors/502.html diff --git a/dist/503.html b/dist/errors/503.html similarity index 100% rename from dist/503.html rename to dist/errors/503.html diff --git a/dist/504.html b/dist/errors/504.html similarity index 100% rename from dist/504.html rename to dist/errors/504.html diff --git a/dist/505.html b/dist/errors/505.html similarity index 100% rename from dist/505.html rename to dist/errors/505.html diff --git a/symlink.php b/symlink.php index 43de68a..5615124 100644 --- a/symlink.php +++ b/symlink.php @@ -5,5 +5,5 @@ foreach ($codes as $code) { exec('chown www-data: ' . escapeshellarg(__DIR__ . '/dist/' . $code . '.html')); - exec('ln -s ' . escapeshellarg(__DIR__ . '/dist/' . $code . '.html') . ' ' . escapeshellarg('../custom_' . $code . '.html')); + exec('ln -s ' . escapeshellarg(__DIR__ . '/dist/errors/' . $code . '.html') . ' ' . escapeshellarg('../custom_' . $code . '.html')); } \ No newline at end of file