Problem

When the module is enabled or saved the configuration, the module can't create the file and folder public://css/high_contrast.css'

Proposed Solution

Use the function 'file_prepare_directory' to check and create the folder before create the file

CommentFileSizeAuthor
#2 high_contrast-3071708-01.patch1.73 KBigor.barato

Comments

igor.barato created an issue. See original summary.

igor.barato’s picture

StatusFileSize
new1.73 KB
neograph734’s picture

Title: The file don't created » The file can't be created because the folder does not exist

Improving the title

neograph734’s picture

Status: Needs review » Fixed

file_prepare_directory is marked for deprecation, But I've changed it to the new method.
Thanks for reporting.

Committed to dev.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

igor.barato’s picture