mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 12:23:48 +01:00
claim.php: file_write, not unix pipe (fix blank page issue)
This commit is contained in:
parent
14b953ae21
commit
c76772e868
@ -56,7 +56,7 @@ A lot of the static pages (claim.html, boards.html, index.html) need to be regen
|
||||
|
||||
```cron
|
||||
*/10 * * * * cd /srv/http; /usr/bin/php /srv/http/boards.php
|
||||
*/5 * * * * cd /srv/http; /usr/bin/php /srv/http/claim.php > /srv/http/claim.html
|
||||
*/5 * * * * cd /srv/http; /usr/bin/php /srv/http/claim.php
|
||||
*/20 * * * * cd /srv/http; /usr/bin/php -r 'include "inc/functions.php"; rebuildThemes("bans");'
|
||||
*/5 * * * * cd /srv/http; /usr/bin/php /srv/http/index.php
|
||||
```
|
||||
|
@ -58,4 +58,4 @@ foreach($boards as $board) {
|
||||
}
|
||||
}
|
||||
$body = Element("8chan/claim.html", array("config" => $config, "delete" => $delete));
|
||||
echo Element("page.html", array("config" => $config, "body" => $body, "title" => _("Claim"), "subtitle" => _("Take deserted boards back from their owners")));
|
||||
file_write("claim.html", Element("page.html", array("config" => $config, "body" => $body, "title" => _("Claim"), "subtitle" => _("Take deserted boards back from their owners"))));
|
||||
|
Loading…
x
Reference in New Issue
Block a user