diff --git a/templates/opcache.ini.j2 b/templates/opcache.ini.j2 index 5c7128b..7328664 100644 --- a/templates/opcache.ini.j2 +++ b/templates/opcache.ini.j2 @@ -11,4 +11,6 @@ opcache.max_wasted_percentage={{ php_opcache_max_wasted_percentage }} opcache.validate_timestamps={{ php_opcache_validate_timestamps }} opcache.revalidate_freq={{ php_opcache_revalidate_freq }} opcache.max_file_size={{ php_opcache_max_file_size }} -opcache.blacklist_filename={{ php_opcache_blacklist_filename }} \ No newline at end of file +{% if php_opcache_blacklist_filename != '' %} +opcache.blacklist_filename={{ php_opcache_blacklist_filename }} +{% endif %}