mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 07:50:23 +01:00
clear apc cache
This commit is contained in:
parent
2334566da3
commit
6f2376b1e3
@ -4,7 +4,7 @@ include "inc/functions.php";
|
||||
if (!(php_sapi_name() == "cli")) {
|
||||
die('nope');
|
||||
}
|
||||
$protected = array('burgers', 'cow', 'wilno');
|
||||
$protected = array('burgers', 'cow', 'wilno', 'cute');
|
||||
$q = query("SELECT uri FROM boards");
|
||||
$boards = $q->fetchAll(PDO::FETCH_COLUMN);
|
||||
$now = new DateTime();
|
||||
@ -145,4 +145,4 @@ cache::delete('all_boards_uri');
|
||||
cache::delete('all_boards');
|
||||
rebuildThemes('boards');
|
||||
$query = query('DELETE FROM board_create WHERE uri NOT IN (SELECT uri FROM boards);') or error(db_error());
|
||||
file_get_contents('https://8chan.co/listboards.php');
|
||||
file_get_contents('http://127.0.0.1/listboards.php');
|
||||
|
Loading…
Reference in New Issue
Block a user