mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Refactor feed functions out of Library and add some enums
This commit is contained in:
parent
66c44cbdbe
commit
90b70b3235
8 changed files with 117 additions and 101 deletions
|
@ -32,7 +32,7 @@ if [ "${type}" = "bulk-downloads" ]; then
|
|||
fi
|
||||
|
||||
if [ "${type}" = "feeds" ]; then
|
||||
echo "<?php require_once('Core.php'); Library::RebuildFeedsCache(); ?>" > /tmp/rebuild-cache.php
|
||||
echo "<?php require_once('Core.php'); Feed::RebuildFeedsCache(); ?>" > /tmp/rebuild-cache.php
|
||||
fi
|
||||
|
||||
sudo -u www-data env SCRIPT_FILENAME=/tmp/rebuild-cache.php REQUEST_METHOD=GET cgi-fcgi -bind -connect "/run/php/standardebooks.org.sock" &> /dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue