mirror of
https://github.com/danpros/htmly.git
synced 2026-04-18 19:46:21 +05:30
Add social logos
Add social logos and new social links.
This commit is contained in:
parent
1c15ddd49e
commit
04d306acb0
8 changed files with 387 additions and 33 deletions
|
|
@ -1337,6 +1337,9 @@ post('/admin/config', function () {
|
|||
}
|
||||
save_config($new_config, $new_Keys);
|
||||
$login = site_url() . 'admin/config';
|
||||
foreach (glob('cache/widget/archive*.cache', GLOB_NOSORT) as $file) {
|
||||
unlink($file);
|
||||
}
|
||||
header("location: $login");
|
||||
} else {
|
||||
$login = site_url() . 'login';
|
||||
|
|
@ -1539,6 +1542,9 @@ post('/admin/config/widget', function () {
|
|||
}
|
||||
save_config($new_config, $new_Keys);
|
||||
$login = site_url() . 'admin/config/widget';
|
||||
foreach (glob('cache/widget/tags*.cache', GLOB_NOSORT) as $file) {
|
||||
unlink($file);
|
||||
}
|
||||
header("location: $login");
|
||||
} else {
|
||||
$login = site_url() . 'login';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue