Closed umer936 closed 1 year ago
I'm attempting to use a callback to be able to use a variable for the theme.
My goal is to be able to set the themes[] from .env by reading it in a PHP file (for now I'm just doing Application::getTheme()).
themes[]
Application::getTheme()
However, copy/pasting the method described in the docs ( https://github.com/markstory/asset_compress/wiki/Configuration#callback-files )
gives me: syntax error, unexpected '(' in /web/merit/config/asset_compress.ini on line 61
syntax error, unexpected '(' in /web/merit/config/asset_compress.ini on line 61
Is this still doable? Or am I missing something else?
Have you tried quoting the value? It should be there in the docs as well.
Edit: Updated the docs :smile:
I'm attempting to use a callback to be able to use a variable for the theme.
My goal is to be able to set the
themes[]
from .env by reading it in a PHP file (for now I'm just doingApplication::getTheme()
).However, copy/pasting the method described in the docs ( https://github.com/markstory/asset_compress/wiki/Configuration#callback-files )
gives me:
syntax error, unexpected '(' in /web/merit/config/asset_compress.ini on line 61
Is this still doable? Or am I missing something else?