-
-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSRF directory needs to be writeable for creating the csrf-secret.php file
- Loading branch information
1 parent
56d80fe
commit f5a54a2
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -511,6 +511,12 @@ private function getPermissions() { | |
$config['base_path'] . '/scripts', | ||
); | ||
|
||
if (isset($config['path_csrf_secret'])) { | ||
$install_paths[] = $config['path_csrf_secret']; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
TheWitness
Author
Member
|
||
} else { | ||
$install_paths[] = $config['base_path'] . '/include/vendor/csrf/csrf-secret.php'; | ||
} | ||
|
||
$always_paths = array( | ||
sys_get_temp_dir(), | ||
$config['base_path'] . '/log', | ||
|
Since it is a path, should the filename be fixed?