Skip to the content
Documentation

INI_FILE_OPTIMIZATIONS

No ratings yet

Summary

INI File Optimizations

Description

This new setting controls whether eZINI should check if the settings have been updated in the *.ini-files*. If this check is disabled Exponential will always use the cached values, lowering the amount of stat-calls to the file system, and thus increasing performance.Set EZP_INI_FILEMTIME_CHECK constant to 'false 'to improve performance by not checking modified time on 'ini files'. You can also set it to the name of an 'ini file' you still want to check modified time. For example, set it to 'site.ini' to make the system still check if that file has been modified, while ignoring changes for any other file.Note that independently of this setting, new INI override files will NEVER be found automatically. You will need to clear at least the INI cache when a new INI file override is added to the structure. Note that new files are not affected, but this is an edge situation.

define( 'EZP_INI_FILEMTIME_CHECK', false )

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.