mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-17 19:29:28 +01:00
infinity/smart-build: rebuild config cache when flags are modified
This commit is contained in:
parent
8a6a20bd9c
commit
ef8ef2c0b4
@ -319,6 +319,11 @@
|
||||
\$config['user_flags'] = unserialize(file_get_contents('$b/flags.ser'));
|
||||
FLAGS;
|
||||
|
||||
if ($config['cache']['enabled']) {
|
||||
cache::delete('config_' . $b);
|
||||
cache::delete('events_' . $b);
|
||||
}
|
||||
|
||||
file_write($b.'/flags.php', $flags);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user