mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Add index file to FCM v1 and APNs config directories to prevent directory listing
This commit is contained in:
parent
2c8ae717e1
commit
64f95d2c95
1 changed files with 1 additions and 0 deletions
|
|
@ -202,6 +202,7 @@ class Notification extends Base
|
|||
if ($conf_value !== null)
|
||||
{
|
||||
Storage::write($filename, $conf_value);
|
||||
Storage::write('./files/config/' . $driver_name . '/index.html', '<!-- Direct Access Not Allowed -->');
|
||||
$push_config[$driver_name][$conf_name] = $filename;
|
||||
}
|
||||
elseif (Storage::exists($filename))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue