mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
fix[installer]: remove potential security issue with chmod
This commit is contained in:
@@ -155,9 +155,6 @@ class Core
|
||||
// Write the new database.php file
|
||||
$handle = fopen($output_path, 'w+');
|
||||
|
||||
// Chmod the file, in case the user forgot
|
||||
@chmod($output_path, 0777);
|
||||
|
||||
// Verify file permissions
|
||||
if (is_writable($output_path)) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user