Implement saving favicon, mobicon, and default image for domain

This commit is contained in:
Kijin Sung 2017-03-12 22:55:57 +09:00
parent 190e9f039e
commit 4257edf7fa
3 changed files with 42 additions and 86 deletions

View file

@ -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')