Commit 2e117586 authored by David Revoy's avatar David Revoy

Split the zip generator into seasons

Same cut as the French publishing of P&C; so the Zip rarely exceed
200MB and eat all CPU of the server. Also, for publishing a book,
I'll need only a pack of page according to this cut.

Aesthetic changes were also added as well as more security checks
and condition to save CPU and server.
parent dc64c257
This diff is collapsed.
......@@ -381,7 +381,7 @@ if(isset($_GET['page'])) {
echo '</div>';
# Create a frame for the body.
echo '<section class="col sml-12 med-12 lrg-10 sml-centered">';
echo '<section class="col sml-12 med-10 lrg-8 sml-centered">';
# Create a table.
$langfolders = array();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment