1
0
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:
czaks 2015-04-06 23:58:23 +02:00
parent 8a6a20bd9c
commit ef8ef2c0b4

View File

@ -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);
}