mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Implement saving favicon, mobicon, and default image for domain
This commit is contained in:
parent
190e9f039e
commit
4257edf7fa
3 changed files with 42 additions and 86 deletions
|
|
@ -456,6 +456,11 @@ class Storage
|
|||
return false;
|
||||
}
|
||||
|
||||
if (is_uploaded_file($source))
|
||||
{
|
||||
@chmod($destination, 0666 & ~self::getUmask());
|
||||
}
|
||||
|
||||
if (function_exists('opcache_invalidate'))
|
||||
{
|
||||
if (substr($source, -4) === '.php')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue